From: Alexander Lam Date: Mon, 3 Jan 2011 18:28:56 +0000 (-0500) Subject: drm/i915: allow 945 to control self refresh (CxSR) automatically X-Git-Tag: v2.6.39-rc1~458^2~9^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18b2190ca5bd3f19717421b1591c79c9b0372428;p=pandora-kernel.git drm/i915: allow 945 to control self refresh (CxSR) automatically I changed 945's self refresh to work without the need for the driver to enable/disable self refresh manually based on the idle state of the gpu. This is much better than enabling/disabling self refresh for various reasons, including staying in a lower power state for more time and avoiding the need for cpu cycles. This was originally done manually to workaround issues with the hardware hanging. However, since 944001201: drm/i915: enable low power render writes on GEN3 hardware, automatic CxSR seems stable. Signed-off-by: Alexander Lam Acked-by : Li Peng [ickle: play safe with the ordering and disable CxSR before tweaking any watermark and enable afterwards.] Signed-off-by: Chris Wilson --- Reading git-diff-tree failed