From: Paulo Zanoni Date: Tue, 6 Aug 2013 21:57:14 +0000 (-0300) Subject: drm/i915: don't update GEN6_PMIMR when it's not needed X-Git-Tag: v3.12-rc1~136^2~14^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f52ecbcf8009ef18cda86b30efd837338cd25392;p=pandora-kernel.git drm/i915: don't update GEN6_PMIMR when it's not needed I did some brief tests and the "new_val = pmimr" condition usually happens a few times after exiting games. Note: This is also prep work to track the GEN6_PMIMR register state in dev_priv->pm_imr. This happens in the next patch. Signed-off-by: Paulo Zanoni Reviewed-by: Rodrigo Vivi [danvet: Add note to explain why we want this, as per the discussion between Chris and Paulo.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed