drm/i915: unify gen6/gen8 rps irq handler
authorImre Deak <imre.deak@intel.com>
Wed, 5 Nov 2014 18:48:37 +0000 (20:48 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Nov 2014 09:29:16 +0000 (10:29 +0100)
commitc9a9a2688256b32af05e4f8c792b243419e41311
tree0db6864340ef98859310f3df22c3eb52e40169bb
parenta72fbc3a14f071d75bccb07ab5148d44f0af77eb
drm/i915: unify gen6/gen8 rps irq handler

After the previous patch the GEN8 RPS handler became very similar to the
GEN6 version, so unify the two functions.

No functional change.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
[danvet: Move one misplaced hunk from a later patch to fix a bisect
issue as reported by Wu Fengguang's 0-day builder and fix suggested by
Imre.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c