]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/crt: Do not rely upon the HPD presence pin
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 May 2012 12:08:53 +0000 (13:08 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 May 2012 12:50:31 +0000 (14:50 +0200)
commit82fca5ade2ecb2abc97c5de4c45d1bf3eca1f63e
tree12682ebbbb738f59935957be8932ec11a985dfbc
parent53afe61dec340f676ce0f3df8a3ab67d43f160ed
drm/i915/crt: Do not rely upon the HPD presence pin

Whilst most monitors do wire up the HPD presence pin, it seems quite a
few KVM do not. Therefore if we simply rely on the HPD pin being
asserted to indicate a connected monitor we fail miserable, so fall back
to performing a DCC query for the EDID.

Reported-and-tested-by: Matthieu LAVIE <boiteamadmax@hotmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50501
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c