From 7a264792772512528a4d6138e09b4ee1ace7f322 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 22 Feb 2013 20:13:58 +0000 Subject: sna: Retire before looking for a large 2D buffer Signed-off-by: Chris Wilson --- src/sna/kgem.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3