From: Chris Wilson Date: Sun, 15 Apr 2012 10:56:03 +0000 (+0100) Subject: drm/i915: Refactor the deferred PM_IIR handling into a single function X-Git-Tag: v3.2.22~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2db9d57eedac7a46b62c73eec6a34bc7fa46e14e;p=pandora-kernel.git drm/i915: Refactor the deferred PM_IIR handling into a single function commit fc6826d1dcd65f3d1e9a5377678882e4e08f02be upstream. 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 Reviewed-by: Ben Widawsky Signed-Off-by: Daniel Vetter [bwh: Backported to 3.2: adjust context; drop changes for Valley View] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed