drm/i915: add render standby support
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 8 Oct 2009 17:16:48 +0000 (10:16 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 5 Nov 2009 22:47:06 +0000 (14:47 -0800)
commit97f5ab6651a996ecefed73e41684422f3b29d9a8
tree3a78cd25b38419df94fa5b2f91793f47b5d99b68
parentd8a2d0e00c0d5a0d55e14b884bff034205015e51
drm/i915: add render standby support

Render standy allows the GPU to power down the render unit when idle.
In order for this to work, it needs a page of graphics memory to save
state.  This patch allocates that page and enables the feature on
supported chipsets.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/intel_display.c