]> 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 09:30:28 +0000 (09:30 +0000)
commita4b72c3037bb3c90edae28559a7fcf83f2614b7f
tree193d71e31fecc335ef2b0f542131d99cc543d82f
parentf66db51a230a42254d0757890193d6d9061e477b
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