]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Take advantage of auto-polling CRT hotplug detection on PCH hardware
authorKeith Packard <keithp@keithp.com>
Tue, 16 Nov 2010 08:03:53 +0000 (16:03 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Nov 2010 08:58:41 +0000 (08:58 +0000)
commitf3774ff532e10dec48b51fa9fa3896a54fcc88e3
tree778c93376cf77e9dc60eceab26ec26167410f2a4
parent48b6250608b7d779361abe51c8a1555a73e48cc5
drm/i915: Take advantage of auto-polling CRT hotplug detection on PCH hardware

Both IBX and CPT have an automatic hotplug detection mode which appears to work reliably enough
that we can dispense with the manual force hotplug trigger stuff. This means that
hotplug detection is as simple as reading the current hotplug register values.

The first time the hotplug detection is activated, the code synchronously waits for a hotplug
sequence in case the hardware hasn't bothered to do a detection cycle since being initialized.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_crt.c