summaryrefslogtreecommitdiffstats
path: root/hwc
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
commit0f28098bbd8976f5a182604226da293747ac824b (patch)
tree5eb0f7d79213509293f41c11eaf62f52efb36db0 /hwc
parent4ceb627d195b2efb8cfa3612f38cee211436a7a2 (diff)
downloadhardware_ti_omap4xxx-0f28098bbd8976f5a182604226da293747ac824b.tar.gz
hardware_ti_omap4xxx-0f28098bbd8976f5a182604226da293747ac824b.tar.bz2
hardware_ti_omap4xxx-0f28098bbd8976f5a182604226da293747ac824b.zip
hwc: do not pick interlaced hdmi mode as it is not yet supported
Change-Id: Icc68bc26d7acc939d512dfaaf0bad12c97f9d701
Diffstat (limited to 'hwc')
-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)) {