summaryrefslogtreecommitdiff
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-10-31 08:49:47 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-31 12:31:30 +0000
commit5eac3ab45955b32f3a9d89e633918c4d6f133dfa (patch)
tree302cc30dde39e47dc238bc440bef87a267e9b656 /drivers/char/agp
parentff75b9bc489710ff223bc0d805bf3b862dc347ea (diff)
drm/i915: Evict just the purgeable GTT entries on the first pass
Take two passes to evict everything whilst searching for sufficient free space to bind the batchbuffer. After searching for sufficient free space using LRU eviction, evict everything that is purgeable and try again. Only then if there is insufficient free space (or the GTT is too badly fragmented) evict everything from the aperture and try one last time. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/char/agp')
0 files changed, 0 insertions, 0 deletions