summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Zhang <chzhang@nvidia.com>2011-02-14 12:11:34 -0800
committerVarun Colbert <vcolbert@nvidia.com>2011-02-16 00:11:00 -0800
commit53f075d9cd8faf6b621fabf09aea641ba5273abe (patch)
tree76a92ba4129a14412e88b644015c743ac05e70a6
parent2e25fa9c17c2863c44a4c207e68e6480ff09f1ac (diff)
[tegra: HDMI: stereo] fix VIC for 720p stereo mode
VIC for 720p stereo mode should be 4 (60Hz) or 19 (50Hz). bug 792143 Change-Id: I3edb468a992842ed6a3247fbab02970b0c078acb Reviewed-on: http://git-master/r/19468 Reviewed-by: Chong Zhang <chzhang@nvidia.com> Tested-by: Chong Zhang <chzhang@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
-rw-r--r--drivers/video/tegra/dc/hdmi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c
index 44aa843b5482..481ed610836f 100644
--- a/drivers/video/tegra/dc/hdmi.c
+++ b/drivers/video/tegra/dc/hdmi.c
@@ -865,7 +865,9 @@ static void tegra_dc_hdmi_setup_avi_infoframe(struct tegra_dc *dc, bool dvi)
avi.m = HDMI_AVI_M_16_9;
avi.vic = 17;
}
- } else if (dc->mode.v_active == 720) {
+ } else if (dc->mode.v_active == 720 ||
+ (dc->mode.v_active == 1470 && dc->mode.stereo_mode)) {
+ /* VIC for both 720p and 720p 3D mode */
avi.m = HDMI_AVI_M_16_9;
if (dc->mode.h_front_porch == 110)
avi.vic = 4; /* 60 Hz */