diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-18 12:33:10 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-19 14:04:37 +0100 |
commit | b2f32373815e166fc6dceb477139ff2ef27db0ba (patch) | |
tree | 6d2025fe456de1c05882b1aac1dde938a1a07b27 /src/sna/kgem.c | |
parent | 1b37a167d9caa7868427cb88b2480f3b64e96cc9 (diff) |
sna: Tidy a few DBG regarding cached uploads
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.c')
-rw-r--r-- | src/sna/kgem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 2a8dddcd..c309caed 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -2631,6 +2631,7 @@ void kgem_reset(struct kgem *kgem) bo->gpu_dirty = false; if (bo->needs_flush && __kgem_busy(kgem, bo->handle)) { + assert(bo->domain == DOMAIN_GPU || bo->domain == DOMAIN_NONE); list_add(&bo->request, &kgem->flushing); bo->rq = (void *)kgem; } else |