diff options
author | 2014-04-14 20:24:37 +0300 | |
---|---|---|
committer | 2014-05-05 09:09:07 +0200 | |
commit | b5478bcd5f04c3eef934f506a98c8849bb410cd9 (patch) | |
tree | d52fa7e75e5d52f541fa450f4e1a800728e093fa /lib/interval_tree_test.c | |
parent | drm/i915: disable runtime PM if RC6 is disabled (diff) | |
download | wireguard-linux-b5478bcd5f04c3eef934f506a98c8849bb410cd9.tar.xz wireguard-linux-b5478bcd5f04c3eef934f506a98c8849bb410cd9.zip |
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>
Diffstat (limited to 'lib/interval_tree_test.c')
0 files changed, 0 insertions, 0 deletions