OMAPDSS: HDMI5: disable interlace modes
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 16 Sep 2014 09:46:33 +0000 (12:46 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 12 Nov 2014 11:40:25 +0000 (13:40 +0200)
We don't support interlace modes properly on OMAP5+ HDMI, so we need to
reject interlace timings.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/hdmi5.c

index 169b764bb9d48f6cb188d075a740e0cd4da4dbb3..c053d692ec1699416d1837cb995d86298872eefc 100644 (file)
@@ -290,6 +290,10 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
 {
        struct omap_dss_device *out = &hdmi.output;
 
+       /* TODO: proper interlace support */
+       if (timings->interlace)
+               return -EINVAL;
+
        if (!dispc_mgr_timings_ok(out->dispc_channel, timings))
                return -EINVAL;