summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-09-03 17:36:33 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-03 18:06:07 +0100
commit5c51cd4e9122b7b8ec54c24cdef6d47edc63d1d9 (patch)
treec79e6cdc7a6c85722f4872b9fdf36a67106a68f4 /src
parent92b750066834195803c9ad65b94184efa5db6e76 (diff)
sna: Mark imported PRIME fd as starting in DOMAIN_NONE
Or rather, do not assume anything about the initial domains. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/kgem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index dcf78b28..e001b012 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -3560,6 +3560,7 @@ struct kgem_bo *kgem_create_for_prime(struct kgem *kgem, int name, uint32_t size
bo->tiling = tiling.tiling_mode;
bo->reusable = false;
+ bo->domain = DOMAIN_NONE;
debug_alloc__bo(kgem, bo);
return bo;