diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-08 00:53:10 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-08 00:57:45 +0000 |
commit | bec99de812ce6a1bbc2c8e4cfd05f4f74c560ea6 (patch) | |
tree | 2f35937c563e31e4a387a0ac8f8db92dece1407a | |
parent | 8d1d3c6e6102ff20fbff74ec6b3b2e94ee757015 (diff) |
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>
-rw-r--r-- | src/sna/kgem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index ef8cddee..2801efc0 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -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; |