i915: disable DAC on Ironlake also when doing CRT load detection.
authorDave Airlie <airlied@redhat.com>
Wed, 4 Aug 2010 05:52:19 +0000 (15:52 +1000)
committerEric Anholt <eric@anholt.net>
Sun, 22 Aug 2010 06:07:04 +0000 (23:07 -0700)
commitd5dd96cb280993a6096b42ab082f9cfd9c7ae0bd
tree4cf724533f51284cc00f9a7623c5ef59c6526496
parent9d0498a2bf7455159b317f19531a3e5db2ecc9c4
i915: disable DAC on Ironlake also when doing CRT load detection.

Like on Sandybridge, disabling the DAC here when doing CRT load detect
avoids forever hangs waiting on the hardware.

test procedure on HP 2740p:
boot with no VGA plugged in, start X,
plug in VGA monitor (1280x1024)
chvt 3
machine hangs waiting forever.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_crt.c