summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorShashank Sharma <shashanks@nvidia.com>2012-10-26 16:24:16 +0530
committerSimone Willett <swillett@nvidia.com>2012-11-06 18:13:48 -0800
commit511b8d7d2404b8d0f307e4c3e4b33c0e2a772eee (patch)
treef7a284d1609f20d5508d6aab20158b9bf9309949 /drivers
parentc2958491e5a392be8f52824d59eabadb34b82060 (diff)
tegra: dc: hdmi: Add 720p CVT mode
Add 720p mode in supported CVT video mode list. Bug 1065850 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Change-Id: I19b90254aa3b4a82965ae43fc7e09b38dad46cd8 Reviewed-on: http://git-master/r/149130 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/tegra/dc/hdmi.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c
index cd1aac3bc0c1..ae55c4f2dfcb 100644
--- a/drivers/video/tegra/dc/hdmi.c
+++ b/drivers/video/tegra/dc/hdmi.c
@@ -579,6 +579,21 @@ const struct fb_videomode tegra_dc_hdmi_supported_cvt_modes[] = {
.vmode = FB_VMODE_NONINTERLACED,
.sync = FB_SYNC_VERT_HIGH_ACT,
},
+ /* 1280x720p 60hz */
+ {
+ .refresh = 60,
+ .xres = 1280,
+ .yres = 720,
+ .pixclock = KHZ2PICOS(64000),
+ .hsync_len = 32, /* h_sync_width */
+ .vsync_len = 5, /* v_sync_width */
+ .left_margin = 80,/* h_back_porch */
+ .upper_margin = 13, /* v_back_porch */
+ .right_margin = 48,/* h_front_porch */
+ .lower_margin = 3, /* v_front_porch */
+ .vmode = FB_VMODE_NONINTERLACED,
+ .sync = FB_SYNC_HOR_HIGH_ACT,
+ },
/* 1024x768p 60hz */
{
.refresh = 60,