]> 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)
commit169e5ba872a6f3079aa68122053f3f7e8f4fc46e
treea1cd624c6a2890aa355f1265d436207d68a320ee
parent78a89f69a5217cd275f5bb83b46962b26dbcc9e6
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:

099865c4232f3d3f462f83de9282822344566fc3

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