summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorAlexander Lam <lambchop468@gmail.com>2011-01-03 13:28:56 -0500
committerChris Wilson <chris@chris-wilson.co.uk>2011-01-19 12:38:48 +0000
commit18b2190ca5bd3f19717421b1591c79c9b0372428 (patch)
treec55fc64a0ff773a98bbbfc366b8b9600064bd5b8 /drivers/gpu/drm/i915/i915_drv.c
parentb0b544cd37c060e261afb2cf486296983fcb56da (diff)
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 <lambchop468@gmail.com> Acked-by : Li Peng <peng.li@linux.intel.com> [ickle: play safe with the ordering and disable CxSR before tweaking any watermark and enable afterwards.] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
0 files changed, 0 insertions, 0 deletions