sna: Remove the bogus assertions on buffer domains
Just a few lines earlier we already have the correct assertion that the buffer was not in the GPU domain, so had these two been correct, they would have still been redundant. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
8d1d3c6e61
commit
bec99de812
|
|
@ -2246,7 +2246,6 @@ static void kgem_finish_buffers(struct kgem *kgem)
|
|||
list_init(&bo->base.request);
|
||||
shrink->needs_flush = bo->base.dirty;
|
||||
|
||||
assert(bo->base.domain == DOMAIN_NONE);
|
||||
bo->base.exec = NULL;
|
||||
bo->base.rq = NULL;
|
||||
bo->base.dirty = false;
|
||||
|
|
@ -2292,7 +2291,6 @@ static void kgem_finish_buffers(struct kgem *kgem)
|
|||
list_init(&bo->base.request);
|
||||
shrink->needs_flush = bo->base.dirty;
|
||||
|
||||
assert(bo->base.domain == DOMAIN_NONE);
|
||||
bo->base.exec = NULL;
|
||||
bo->base.rq = NULL;
|
||||
bo->base.dirty = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue