]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only complain about a rogue hotplug IRQ after disabling
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Jan 2014 18:49:21 +0000 (18:49 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Jan 2014 21:27:13 +0000 (22:27 +0100)
commit439223ce4a7b169563f4d4122e6efc161a49fe44
tree425448ee3b3b8fc5e75ef5ccceeb8a77a69107f6
parentaabf18c0c292397bb420d7cdf46afbbfd4060df6
drm/i915: Only complain about a rogue hotplug IRQ after disabling

Disabling the hotplug IRQ is a two-step process. First, inside the IRQ
handler we mark the rogue hotplug pin for disabling. Then later in the
hotplug worker, we actually disable the hotplug pin. So we should not
WARN about the rogue hotplug IRQ being sent until after we have
completed disabling the pin.

References: https://bugzilla.redhat.com/show_bug.cgi?id=1051170
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c