]> 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)
commitce4994b4d03108a41aefd55ab3e2ae848aacf9f2
tree800f92c4f887601a4397d4d710cc1ff32ff2b261
parent2cbdc4f56315d2a3265173c8eacc47d56c9f7ac6
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