]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/i915/crt: Do not rely upon the HPD presence pin"
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Jun 2012 21:53:06 +0000 (14:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Jun 2012 21:53:06 +0000 (14:53 -0700)
commit6b150ad198c561e9cd2b2799c6c45881297c6b5a
tree40b39dd3489cede6101a04e5096dba55a599a25c
parent12db7d51c7c097d53e81aa69b15add4d78447d7b
Revert "drm/i915/crt: Do not rely upon the HPD presence pin"

This reverts commit 82fca5ade2ecb2abc97c5de4c45d1bf3eca1f63e.

It incorrectly finds VGA connectors where none are attached, apparently
not noticing that nothing replied to the EDID queries, and happily using
the default EDID modes that have nothing to do with actual hardware.

That in turn then causes X to fall down to the lowest common
denominator, which is usually the default 1024x768 mode that is in the
default EDID and pretty much anything supports).

I'd suggest that if not relying on the HDP pin, the code should at least
check whether it gets valid EDID data back, rather than just assume
there's something on the VGA connector.

Cc: Dave Airlie <airlied@linux.ie>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/i915/intel_crt.c