drm/i915: Make sure pipe interrupts are processed before turning off power well on...
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 19 Feb 2016 18:47:30 +0000 (20:47 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 22 Feb 2016 17:28:13 +0000 (19:28 +0200)
commitaae8ba844495473cb11298ad263e26e656e6e4b4
tree5b36bb6882c812ae29e1ad8e5f6fd6578f03339d
parent2230fde85cfff2966d2f5fb77321a1ac41c2ecb8
drm/i915: Make sure pipe interrupts are processed before turning off power well on BDW+

Starting from BDW the DE_PIPE interrupts for pipe B and C belong to the
relevant display power well. So we should make sure we've finished
processing them before turning off the power well.

The pipe interrupts shouldn't really happen at this point anymore since
we've already shut down the planes/pipes/whatnot, but being a bit
paranoid shouldn't hurt.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1455907651-16397-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_runtime_pm.c