OMAPDSS: HDMI: split power_on/off to two parts
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 19 Oct 2012 14:42:10 +0000 (17:42 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Oct 2012 10:44:40 +0000 (12:44 +0200)
commitbb426fc96316b20876acc3289c5115f00918c2bb
tree43503e7c8023fb14123181567cb608f578a5c4ee
parent4e0397cfa78913f3da08c0aa8076b6b0a3b262a0
OMAPDSS: HDMI: split power_on/off to two parts

There's currently just one power-on function for HDMI, which enables the
IP and the video output. When reading EDID or detecting if a monitor is
connected, we don't need the video output.

Enabling the video output for these operations is not a big problem in
itself, but the quick enable/disable cycles caused by the operations
seem to cause sync lost errors from time to time. Also, this makes it
possible to read the EDID before the full video path has been set up.

This patch splits the hdmi_power_on into two parts, hdmi_power_on_core
and hdmi_power_on_full. The "full" version does what hdmi_power_on does
currently, and hdmi_power_on_core only enables the core IP. Similar
changes are made for power_off.

Note that these don't allow the HDMI IP to be first enabled, and later
enable the video output, but the HDMI IP will first need to be powered
off before calling the full version. So this is rather limited
implementation, but it fills the needs for reading EDID.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Ricardo Neri <ricardo.neri@ti.com>
drivers/video/omap2/dss/hdmi.c
This page took 0.027727 seconds and 5 git commands to generate.