]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Refactor the deferred PM_IIR handling into a single function
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 15 Apr 2012 10:56:03 +0000 (11:56 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 15 Apr 2012 17:37:43 +0000 (19:37 +0200)
commitfc6826d1dcd65f3d1e9a5377678882e4e08f02be
treebcfecd40844aa1c43614d3596ad021e12c746f68
parentc07496fa61f4c5cb2addd1c57f6b22fcaeea2eeb
drm/i915: Refactor the deferred PM_IIR handling into a single function

This function, along with the registers and deferred work hander, are
all shared with SandyBridge, IvyBridge and their variants. So remove the
duplicate code into a single function.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c