summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLajos Molnar <molnar@ti.com>2011-09-28 18:49:22 -0500
committerErik Gilling <konkers@android.com>2011-10-06 12:54:09 -0700
commitf9fece5f1770386a60d6a27cccca6c808185a6e0 (patch)
treeb8a4ed51279d066a3c1019aea6f2f644717a9bf6
parent2d7f4d10282c7c3e3243055537a2d8feef994974 (diff)
downloadhardware_ti_omap4-f9fece5f1770386a60d6a27cccca6c808185a6e0.zip
hardware_ti_omap4-f9fece5f1770386a60d6a27cccca6c808185a6e0.tar.gz
hardware_ti_omap4-f9fece5f1770386a60d6a27cccca6c808185a6e0.tar.bz2
hwc: do not pick interlaced hdmi mode as it is not yet supported
Change-Id: Icc68bc26d7acc939d512dfaaf0bad12c97f9d701
-rw-r--r--hwc/hwc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index f82c929..05a6954 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -623,6 +623,7 @@ static int omap4_hwc_set_best_hdmi_mode(omap4_hwc_device_t *hwc_dev, __u32 xres,
ext_width, ext_height, &ext_fb_xres, &ext_fb_yres);
if (!d.modedb[i].pixclock ||
+ d.modedb[i].vmode ||
!omap4_hwc_can_scale(xres, yres, ext_fb_xres, ext_fb_yres,
hwc_dev->ext & EXT_TRANSFORM, &d.dis, &limits,
1000000000 / d.modedb[i].pixclock))
@@ -673,6 +674,7 @@ static int omap4_hwc_set_best_hdmi_mode(omap4_hwc_device_t *hwc_dev, __u32 xres,
get_max_dimensions(xres, yres, xratio, yratio, d.dis.timings.x_res, d.dis.timings.y_res,
ext_width, ext_height, &ext_fb_xres, &ext_fb_yres);
if (!d.dis.timings.pixel_clock ||
+ d.dis.mgr.interlaced ||
!omap4_hwc_can_scale(xres, yres, ext_fb_xres, ext_fb_yres,
hwc_dev->ext & EXT_TRANSFORM, &d.dis, &limits,
d.dis.timings.pixel_clock)) {