diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-06 13:35:27 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-06 13:48:14 +0000 |
commit | 141001df6c9c3485c500ed531a214c09b46c1d3b (patch) | |
tree | 7c147cc1d46f5d1bbe024ff5b2979288dc48228d /src | |
parent | eac0d9652b2399f8c36ba0288db6fe347ed78dc9 (diff) |
sna: always skip active search when requested for find an inactive bo
References: https://bugs.freedesktop.org/show_bug.cgi?id=44504
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/kgem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 58df9352..4bccccbf 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -1996,9 +1996,10 @@ struct kgem_bo *kgem_create_2d(struct kgem *kgem, return kgem_bo_reference(bo); } } while (!list_is_empty(&kgem->vma_cache) && kgem_retire(kgem)); + } + if (flags & CREATE_INACTIVE) goto skip_active_search; - } untiled_pitch = kgem_untiled_pitch(kgem, width, bpp, |