drm/i915: move rps irq disable one level up
authorImre Deak <imre.deak@intel.com>
Wed, 19 Nov 2014 13:30:02 +0000 (15:30 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 Nov 2014 14:03:11 +0000 (15:03 +0100)
commite534770addd798e17b95372b4cd61682d1bf9296
treed296a195a9aabc1ecc6e64bb2a47517b5e7a2833
parent4a74de821af510fcb3224d16ceed6a6609730d9c
drm/i915: move rps irq disable one level up

We disable the RPS interrupts for all platforms at the same spot, so
move it one level up in the callstack to simplify things.

No functional change.

v2:
- rebase on the GEN9 patches where RPS isn't supported yet, so we don't
  need to disable RPS interrupts on it (Paulo)
v3:
- avoid disabling the interrupts on GEN>9 too (Paulo)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c