diff options
Diffstat (limited to 'src/sna/kgem.c')
-rw-r--r-- | src/sna/kgem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 81ca65ef..eb511493 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -4568,7 +4568,7 @@ void _kgem_bo_destroy(struct kgem *kgem, struct kgem_bo *bo) if (bo->proxy) { _list_del(&bo->vma); _list_del(&bo->request); - if (bo->io && bo->exec == NULL) + if (bo->io && bo->exec == NULL && bo->domain == DOMAIN_CPU) _kgem_bo_delete_buffer(kgem, bo); kgem_bo_unref(kgem, bo->proxy); kgem_bo_binding_free(kgem, bo); |