From: Ben Widawsky Date: Wed, 26 Sep 2012 17:34:00 +0000 (-0700) Subject: drm/i915: Extract PCU communication X-Git-Tag: v3.8-rc1~82^2~192^2~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42c0526c930523425ff6edc95b7235ce7ab9308d;p=pandora-kernel.git drm/i915: Extract PCU communication There is a special mechanism for communicating with the PCU already being used for the ring frequency stuff. As we'll be needing this for other commands, extract it now to make future code less error prone and the current code more reusable. I'm not entirely sure if this code matches 1:1 with the previous code behaviorally. Functionally however, it should be the same. CC: Jesse Barnes Signed-off-by: Ben Widawsky Reviewed-by: Jesse Barnes [danvet: Fixup compile fail reported by Wu Fengguang.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed