]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DPI/HDMI: Apply manager timings even if panel is disabled
authorArchit Taneja <archit@ti.com>
Thu, 3 May 2012 14:33:11 +0000 (20:03 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 May 2012 10:44:08 +0000 (13:44 +0300)
commit099865c4232f3d3f462f83de9282822344566fc3
treeefd1ecca35ccd40b56e8c0cad06bda824904acf1
parent286f7066a8535a5dbd23b10c50ef6b81540b200b
OMAPDSS: DPI/HDMI: Apply manager timings even if panel is disabled

The DPI and HDMI interfaces use their 'set_timing' functions to take in a new
set of timings. If the panel is disabled, they do not disable and re-enable
the interface. Currently, the manager timings are applied in hdmi_power_on()
and dpi_set_mode() respectively, 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 panel is disabled. Eventually, there should be
one common place where the timings are applied independent of the state of the
panel.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/hdmi.c