]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: fix HDMI sync polarities
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 27 May 2016 10:49:05 +0000 (13:49 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Apr 2017 09:36:40 +0000 (12:36 +0300)
commit777ec5560f9cce93204caafb6d8030a0edd3697a
treebd5e9a0a207d004bb2afb17be710cec83c658239
parent243d408d128182b51a40a769a6a5de2f85092d04
drm/omap: fix HDMI sync polarities

While implementing writeback support, odd behavior of WBDELAYCOUNT was
observed with the combination of WB capture and HDMI. The result of the
debugging was that the HDMI sync polarities are not set correctly.

The current code sets the sync polarities going from HDMI WP to DISPC
according to the video mode used, which seems to work normally fine, but
causes problems with WB as WB expects the syncs to be active-high.

This patch changes the HDMI sync polarities so that the DISPC always
gets active-high syncs from HDMI WP, and the HDMI core gets sync
polarities according to the used video mode.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/hdmi_wp.c