Commit beb8384d authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAPDSS: DISPC: reject interlace for lcd out

OMAP2/3 does not support interlace for LCD out. OMAP4+ does, but is not
supported by the driver at the moment.

The driver still accepts interlaced mode for LCD out, causing broken
display output.

This patch makes dispc reject interlace for LCD out.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 21d9ca90
...@@ -2886,6 +2886,9 @@ bool dispc_mgr_timings_ok(enum omap_channel channel, ...@@ -2886,6 +2886,9 @@ bool dispc_mgr_timings_ok(enum omap_channel channel,
timings_ok &= _dispc_mgr_pclk_ok(channel, timings->pixelclock); timings_ok &= _dispc_mgr_pclk_ok(channel, timings->pixelclock);
if (dss_mgr_is_lcd(channel)) { if (dss_mgr_is_lcd(channel)) {
/* TODO: OMAP4+ supports interlace for LCD outputs */
timings_ok &= timings->interlace == false;
timings_ok &= _dispc_lcd_timings_ok(timings->hsw, timings->hfp, timings_ok &= _dispc_lcd_timings_ok(timings->hsw, timings->hfp,
timings->hbp, timings->vsw, timings->vfp, timings->hbp, timings->vsw, timings->vfp,
timings->vbp); timings->vbp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment