From: Paulo Zanoni Date: Thu, 21 Nov 2013 15:47:28 +0000 (-0200) Subject: drm/i915: add runtime PM support on Haswell X-Git-Tag: v3.14-rc1~47^2~44^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8771a7f80289bc08eac12c7d4f72627ff6552295;p=pandora-kernel.git drm/i915: add runtime PM support on Haswell The code to enable/disable PC8 already takes care of saving and restoring all the registers we need to save/restore, so do a put() call when we enable PC8 and a get() call when we disable it. Ideally, in order to make it easier to add runtime PM support to other platforms, we should move some things from the PC8 code to the runtime PM code, but let's do this later, since we can make Haswell work right now. V2: - Rebase Signed-off-by: Paulo Zanoni Reviewed-by: Rodrigo Vivi [danvet: Don't actually enable runtime pm since I didn't merge all patches.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed