]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: make runtime PM interrupt enable/disable platform independent
authorImre Deak <imre.deak@intel.com>
Mon, 14 Apr 2014 17:24:37 +0000 (20:24 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Apr 2014 13:41:28 +0000 (15:41 +0200)
commitfbb5efb79a748db74a1a811f69e6c417229b9f1e
tree32d9b6d2a46c3d6faa155beb8479bc36a4ef8ced
parent0d1feb2fbd7b896e2332f19ff75bead73197d8f0
drm/i915: make runtime PM interrupt enable/disable platform independent

We need to disable the interrupts for all platforms, so make the helpers
for this platform independent and call them from them platform
independent runtime suspend/resume callbacks.

On HSW/BDW this will move interrupt disabling/re-enabling at the
beginning/end of runtime suspend/resume respectively, but I don't see
any reason why this would cause a problem there. In any case this seems
to be the correct thing to do even on those platforms.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_display.c