drm/i915: Add frame buffer compression on Sandybridge
commit9c04f015ebc2cc2cca5a4a576deb82a311578edc
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 15 Dec 2010 07:42:32 +0000 (15 15:42 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Dec 2010 11:22:27 +0000 (15 11:22 +0000)
tree9c4b04dc9a07c943c431ce60d45113a1cd78d442
parent1398261a2e84c537c409259cfe9db3d0abcd9f99
drm/i915: Add frame buffer compression on Sandybridge

Add frame buffer compression on Sandybridge. The method is similar to
Ironlake, except that two new registers of type GTTMMADR must be written
with the right fence info.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c