]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: Apply VENC timings even if panel is disabled
authorArchit Taneja <archit@ti.com>
Mon, 21 May 2012 04:17:12 +0000 (09:47 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 22 May 2012 08:00:08 +0000 (11:00 +0300)
commit15f3deaf3ce110cf1b09616d9bc7382886f1aa33
treea1cd624c6a2890aa355f1265d436207d68a320ee
parent8213624aee7073ab8c688e06d0606babd60f4068
OMAPDSS: Apply VENC timings even if panel is disabled

The VENC interfaces uses it's venc_set_timing() function to take in a new set
of timings. If the panel is disabled, it does not disable and re-enable the
interface. Currently, the manager timings are applied in venc_power_on(), these
are not called by set_timings if the panel is disabled. When checking overlay
and manager data, the DSS driver uses the last applied manager timings, and not
the timings held by omap_dss_device struct. Hence, there is a need to apply the
new manager timings even if the panel is disabled.

Apply the manager timings if the VENC panel is disabled.

This is similar to the commit below which fixed the same issue for HDMI/DPI
interfaces:

027ba6f5c12f0a900b25be9abd308535b0bd4a76

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/venc.c