diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-22 20:13:58 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-22 20:13:58 +0000 |
commit | 7a264792772512528a4d6138e09b4ee1ace7f322 (patch) | |
tree | 1d15ea77b1b914eb5810e0c987602255f78ebfb3 | |
parent | 630b114f1ceaf9fb1e35f3aac8c3161119ba5af9 (diff) |
sna: Retire before looking for a large 2D buffer
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/kgem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 72555daf..c4ad5faf 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -3616,6 +3616,7 @@ struct kgem_bo *kgem_create_2d(struct kgem *kgem, } large_inactive: + __kgem_throttle_retire(kgem, flags); list_for_each_entry(bo, &kgem->large_inactive, list) { assert(bo->refcnt == 0); assert(bo->reusable); |