From: Jesse Barnes Date: Wed, 5 Jan 2011 20:01:26 +0000 (-0800) Subject: drm/i915: cleanup rc6 code X-Git-Tag: v2.6.38-rc1~398^2~2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5bb081b027b520f9e59b4fb8faea83a136ec15e;p=pandora-kernel.git drm/i915: cleanup rc6 code Cleanup several aspects of the rc6 code: - misnamed intel_disable_clock_gating function (was only about rc6) - remove commented call to intel_disable_clock_gating - rc6 enabling code belongs in its own function (allows us to move the actual clock gating enable call back into restore_state) - allocate power & render contexts up front, only free on unload (avoids ugly lazy init at rc6 enable time) Signed-off-by: Jesse Barnes [ickle: checkpatch cleanup] Signed-off-by: Chris Wilson --- Reading git-diff-tree failed