aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-06-05 04:35:10 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-07-04 04:17:57 -0400
commitbeb8384d4a67179e8c207f00e9035ab121ed5940 (patch)
treec9307cdee4b65c4ac83f6e82f9ecabf1ef66acb9 /drivers/video
parent21d9ca906370e5b3cbd7f507fd7116bbe8edb877 (diff)
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: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/omap2/dss/dispc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dispc.c b/drivers/video/fbdev/omap2/dss/dispc.c
index d1f0dbb486b8..37373b61784e 100644
--- a/drivers/video/fbdev/omap2/dss/dispc.c
+++ b/drivers/video/fbdev/omap2/dss/dispc.c
@@ -2886,6 +2886,9 @@ bool dispc_mgr_timings_ok(enum omap_channel channel,
2886 timings_ok &= _dispc_mgr_pclk_ok(channel, timings->pixelclock); 2886 timings_ok &= _dispc_mgr_pclk_ok(channel, timings->pixelclock);
2887 2887
2888 if (dss_mgr_is_lcd(channel)) { 2888 if (dss_mgr_is_lcd(channel)) {
2889 /* TODO: OMAP4+ supports interlace for LCD outputs */
2890 timings_ok &= timings->interlace == false;
2891
2889 timings_ok &= _dispc_lcd_timings_ok(timings->hsw, timings->hfp, 2892 timings_ok &= _dispc_lcd_timings_ok(timings->hsw, timings->hfp,
2890 timings->hbp, timings->vsw, timings->vfp, 2893 timings->hbp, timings->vsw, timings->vfp,
2891 timings->vbp); 2894 timings->vbp);