tegra: dc: hdmi: Add 720p CVT mode
Shashank Sharma [Fri, 26 Oct 2012 10:54:16 +0000 (15:54 +0530)]
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>

drivers/video/tegra/dc/hdmi.c

index cd1aac3..ae55c4f 100644 (file)
@@ -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,