drm/i915: Shut down PCH interrupts during irq_uninstall
authorKeith Packard <keithp@keithp.com>
Tue, 20 Sep 2011 17:12:44 +0000 (10:12 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 30 Sep 2011 22:30:41 +0000 (15:30 -0700)
commit192aac1f19e7a2c69fe486b863c914aabd7acc69
tree1ed92aec21ec74e93a800eb14bc32d71130601b3
parent7fe0b973fadad1634c1a86dda7c6200146299082
drm/i915: Shut down PCH interrupts during irq_uninstall

This masks out all interrupts and ack's any pending ones at IRQ
uninstall time to make sure we don't receive any unexpected interrupts
later on.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c