From: Chris Wilson Date: Wed, 14 Oct 2009 19:12:46 +0000 (+0100) Subject: drm/i915: Install a fence register for fbc on g4x X-Git-Tag: v2.6.32-rc7~79^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d9c778978ff268228c095ae737c282c03a5986d;p=pandora-kernel.git drm/i915: Install a fence register for fbc on g4x To enable framebuffer compression on a g4x, we not only need the buffer to tiled (X only), we also need to hold a fence register for the buffer. Currently we only install a fence register for pre-i965s when setting up the scanout buffer. Rather than adding some convoluted logic to g4x_enable_fbc() to acquire a fence register, and perhaps to g4x_disable_fbc() to release it again, we can extend the acquisition during setup to all chipsets. Signed-off-by: Chris Wilson Cc: Jesse Barnes Signed-off-by: Eric Anholt --- Reading git-diff-tree failed