linux/drivers/gpu/drm/bridge
Russell King 381f05a7a8 drm: bridge/dw_hdmi: add connector mode forcing
When connected to HDMI sources, some DVI monitors de-assert their HPD
signal and TDMS loads for one seconds every four seconds when there is
no signal present on the connection.

Unfortunately, this behaviour is indistinguishable from a proper HDMI
setup with an AV receiver in the path to the display: the HDMI spec
requires us to detect HPD deassertions as short as 100ms, which indicate
that the EDID has changed.

Since it is possible to connect a DVI monitor to an AV receiver and then
to a HDMI source, merely working around this by detecting the lack of
HDMI vendor block in the EDID is insufficient - the AV receiver is at
liberty to modify the EDID as it sees fit, and it will place its own
parameters into the EDID including the HDMI vendor block.

DRM has support for forcing the state of a connector, which we should
implement to allow us to work around these broken DVI monitors - we can
tell DRM to force the connection state to indicate that there is always
a device connected to work around this problem.  Although this requires
manual configuration, it is better than nothing at all.

When a forced connection state has been set, there is no point handling
our RXSENSE interrupts, so disable them in this circumstance.

Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-10-06 19:58:55 +01:00
..
dw_hdmi.c drm: bridge/dw_hdmi: add connector mode forcing 2015-10-06 19:58:55 +01:00
dw_hdmi.h drm: bridge/dw_hdmi: fix register I2CM_ADDRESS register name 2015-08-18 11:38:11 +01:00
Kconfig drm/bridge: Put Kconfig entries in a separate menu 2015-08-14 21:35:36 +02:00
Makefile drm/bridge: Add vendor prefixes 2015-08-14 21:34:24 +02:00
nxp-ptn3460.c drm/bridge: Add vendor prefixes 2015-08-14 21:34:24 +02:00
parade-ps8622.c drm/bridge: Add vendor prefixes 2015-08-14 21:34:24 +02:00