From: Chris Wilson Date: Thu, 12 May 2011 21:17:09 +0000 (+0100) Subject: drm/i915: Cache GT fifo count for SandyBridge X-Git-Tag: v3.1-rc1~230^2~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95736720fc866eadb2ce1789631b907c0f38cb7c;p=pandora-kernel.git drm/i915: Cache GT fifo count for SandyBridge The read back of the available FIFO entries is vital for system stability, but extremely costly. However, we only need a guide so as to avoid eating into the reserved entries and since we are the only consumer we can cache the read of the count from the last write. Signed-off-by: Chris Wilson Reviewed-by: Ben Widawsky Signed-off-by: Keith Packard --- Reading git-diff-tree failed