]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: framebuffer compression for pre-GM45
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 10 Sep 2009 22:28:06 +0000 (15:28 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 11 Sep 2009 02:46:07 +0000 (19:46 -0700)
commit8082400327d8d2ca54254b593644942bed0edd25
tree43a32ac4e56e985341e2109d2c4d545d3d6df6cb
parent06324194eee97a51b5f172270df49ec39192d6cc
drm/i915: framebuffer compression for pre-GM45

This patch adds framebuffer compression (good for about ~0.5W power
savings in the best case) support for pre-GM45 chips.  GM45+ have a new,
more flexible FBC scheme that will be added in a separate patch.

FBC can't always be enabled: the compressed buffer must be physically
contiguous and reside in stolen space.  So if you have a large display
and a small amount of stolen memory, you may not be able to take
advantage of FBC.  In some cases, a BIOS setting controls how much
stolen space is available.  Increasing this to 8 or 16M can help.

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