]> git.karo-electronics.de Git - karo-tx-linux.git/commit
OMAPDSS: DISPC: Improvements to DIGIT sync signal selection
authorRicardo Neri <ricardo.neri@ti.com>
Wed, 1 Aug 2012 12:56:40 +0000 (07:56 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 10 Aug 2012 12:48:35 +0000 (15:48 +0300)
commit8aa2eed1348d615817de792cd205868348a5293d
tree52c7e2fa6f93c310de8d695aaec59e3cc34cda6c
parentd7ad718d359789c8c9190547bbc0294aeba506e2
OMAPDSS: DISPC: Improvements to DIGIT sync signal selection

DSS code wrongly assumes that VENC is always available as source for the external
sync signal for the display controller DIGIT channel. One cannot blindly write/read
the value of DSS_CONTROL[15] as in certain processors (e.g., OMAP5) this operation
may not be valid. If the the sync source is not read correctly, the callers of
dss_get_hdmi_venc_clk_source might make wrong assumptions about, for instance,
video timings.

Logic is added to correctly get the sync signal based on the available displays
in the DIGIT channel. The source is set only if both VENC and HDMI are supported.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c