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:
Chris Wilson 2013-02-08 00:53:10 +00:00
parent 8d1d3c6e61
commit bec99de812
1 changed files with 0 additions and 2 deletions

View File

@ -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;