]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit78350f7c0be5f3a859001188db8e17cec315537c
tree5b36bb6882c812ae29e1ad8e5f6fd6578f03339d
parent5eb1db4d05195d78f2687927903272ea1a100c56
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