commit | 95736720fc866eadb2ce1789631b907c0f38cb7c | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu May 12 22:17:09 2011 +0100 |
committer | Keith Packard <keithp@keithp.com> | Wed Jul 13 11:28:07 2011 -0700 |
tree | 5071fe60b3cdd5951e351e1565121287aa17675a | |
parent | f5a3d0c4086d1854cbda545092c462b84cba20ce [diff] |
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 <chris@chris-wilson.co.uk> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Keith Packard <keithp@keithp.com>