linux/drivers/gpu/drm/bridge
Russell King b872a8e16b drm: bridge/dw_hdmi: fix phy enable/disable handling
The dw_hdmi enable/disable handling is particularly weak in several
regards:
* The hotplug interrupt could call hdmi_poweron() or hdmi_poweroff()
  while DRM is setting a mode, which could race with a mode being set.
* Hotplug will always re-enable the phy whenever it detects an active
  hotplug signal, even if DRM has disabled the output.

Resolve all of these by introducing a mutex to prevent races, and a
state-tracking bool so we know whether DRM wishes the output to be
enabled.  We choose to use our own mutex rather than ->struct_mutex
so that we can still process interrupts in a timely fashion.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-08-18 11:33:58 +01:00
..
dw_hdmi.c drm: bridge/dw_hdmi: fix phy enable/disable handling 2015-08-18 11:33:58 +01:00
dw_hdmi.h drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare 2015-01-07 18:31:59 +01:00
Kconfig drm/bridge: Add I2C based driver for ps8622/ps8625 bridge 2015-03-24 11:16:47 +01:00
Makefile drm/bridge: Add I2C based driver for ps8622/ps8625 bridge 2015-03-24 11:16:47 +01:00
ps8622.c drm/bridge: ps8622: Fix sparse warnings 2015-03-24 11:16:48 +01:00
ptn3460.c drm/bridge: ptn3460: Fix sparse warnings 2015-03-24 11:16:48 +01:00