commit | d7619c4b9c95cc9a2e7f0f4f7ae21165ab5cb1e7 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Feb 11 14:26:47 2009 +0000 |
committer | Eric Anholt <eric@anholt.net> | Wed Mar 11 10:33:28 2009 -0700 |
tree | bb8ae65f7b4bdfcb6464cf20a57251a063e63c49 | |
parent | fc7170ba281c041852eeda52d4faf5db720c99ce [diff] |
drm/i915: Protect active fences on i915 The i915 also uses the fence registers for GPU access to tiled buffers so we cannot reallocate one whilst it is on the active list. By performing a LRU scan of the fenced buffers we also avoid waiting the possibility of waiting on a pinned, or otherwise unusable, buffer. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>