aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-09-16 05:46:33 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-11-12 06:40:25 -0500
commit31dd0f4be428c7059c697332e27417cb6b08087d (patch)
treeaef3ca917bf6bec263b538eaf58845ea0556225b /drivers/video
parent8530c41d7c2686eb5c509111fc677f13793a6288 (diff)
OMAPDSS: HDMI5: disable interlace modes
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/omap2/dss/hdmi5.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi5.c b/drivers/video/fbdev/omap2/dss/hdmi5.c
index 169b764bb9d4..c053d692ec16 100644
--- a/drivers/video/fbdev/omap2/dss/hdmi5.c
+++ b/drivers/video/fbdev/omap2/dss/hdmi5.c
@@ -290,6 +290,10 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
290{ 290{
291 struct omap_dss_device *out = &hdmi.output; 291 struct omap_dss_device *out = &hdmi.output;
292 292
293 /* TODO: proper interlace support */
294 if (timings->interlace)
295 return -EINVAL;
296
293 if (!dispc_mgr_timings_ok(out->dispc_channel, timings)) 297 if (!dispc_mgr_timings_ok(out->dispc_channel, timings))
294 return -EINVAL; 298 return -EINVAL;
295 299