]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Inspect the right status bits for DP/HDMI hotplug on gen4
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 May 2012 17:01:32 +0000 (18:01 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 May 2012 18:13:39 +0000 (20:13 +0200)
commit37a3b6a78e703413773297688817db347a442b06
tree800f92c4f887601a4397d4d710cc1ff32ff2b261
parent4af26683580409eb75c84da681883ce17f90972c
drm/i915: Inspect the right status bits for DP/HDMI hotplug on gen4

The status bits corresponding to the interrupt enable bits are the
"live" hotplug status bits, and reflect the current status of the port
(high for a detected connection, low for a disconnect). The actual bits
corresponding to the interrupt source are elsewhere. The actual event is
then determined by a combination of the interrupt flag and the current
live status (if the interrupt is active, but the current status is not,
then we have detected a disconnect.)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c