]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: hdmi: Detect DVI-only displays
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 28 Aug 2013 15:48:38 +0000 (18:48 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:43 +0000 (09:55 +0100)
commit9af3268ad9529b6ec334092e001e36ed88c916c3
tree280d7b006694075d9e4c04d843d861a8d713431b
parenta05d49b8e343fbc3210dc16f599a32988f2af81b
drm/tegra: hdmi: Detect DVI-only displays

Use EDID data to determine whether the display supports HDMI or DVI
only. The HDMI output used to assume to be connected to HDMI displays,
but that broke support for DVI displays that don't understand the
interspersed audio/other data.

To be on the safe side, default to DVI if no EDID data is available.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
[treding@nvidia.com: move detection to separate function]
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hdmi.c