tegra: hdmi: Add 1080p timing table
Hao Tang [Thu, 22 Mar 2012 06:59:46 +0000 (14:59 +0800)]
Bug 949759

Add new 1080p timing support, or 1080p playback is not available on
some monitors like Acer H243HX

Change-Id: I8a8a3a5b2de71d5a56dad233f953e09176f85b76
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/91732
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

drivers/video/tegra/dc/hdmi.c

index cb401a1..2e1df8d 100644 (file)
@@ -215,6 +215,22 @@ const struct fb_videomode tegra_dc_hdmi_supported_modes[] = {
                .vmode =        FB_VMODE_NONINTERLACED,
                .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
        },
+
+       /* 1920x1080p 59.94/60hz CVT */
+       {
+               .xres =         1920,
+               .yres =         1080,
+               .pixclock =     KHZ2PICOS(138500),
+               .hsync_len =    32,     /* h_sync_width */
+               .vsync_len =    5,      /* v_sync_width */
+               .left_margin =  80,     /* h_back_porch */
+               .upper_margin = 23,     /* v_back_porch */
+               .right_margin = 48,     /* h_front_porch */
+               .lower_margin = 3,      /* v_front_porch */
+               .vmode = FB_VMODE_NONINTERLACED,
+               .sync = FB_SYNC_VERT_HIGH_ACT,
+       },
+
        /* 1920x1080p 59.94/60hz EIA/CEA-861-B Format 16 */
        {
                .xres =         1920,