diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-04-13 10:08:09 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-04-13 10:10:57 +0100 |
commit | e9cd7d532774f451df87eb567248e3b4210492b2 (patch) | |
tree | cc72e4be8acb0a4e3e9c6ab46a181a9212ef6c79 /tests | |
parent | a6138b66e454d8b6f3e0b469e579f4692aeb3092 (diff) |
igt/gem_concurrent_blit: Mark up with DOMAIN_WC
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_concurrent_all.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_concurrent_all.c b/tests/gem_concurrent_all.c index b2e11ea0..201b491b 100644 --- a/tests/gem_concurrent_all.c +++ b/tests/gem_concurrent_all.c @@ -917,8 +917,8 @@ static void wc_copy_bo(struct buffers *b, drm_intel_bo *dst, drm_intel_bo *src) const int size = b->page_size; void *d, *s; - gem_set_domain(fd, src->handle, I915_GEM_DOMAIN_GTT, 0); - gem_set_domain(fd, dst->handle, I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT); + gem_set_domain(fd, src->handle, I915_GEM_DOMAIN_WC, 0); + gem_set_domain(fd, dst->handle, I915_GEM_DOMAIN_WC, I915_GEM_DOMAIN_WC); s = gem_mmap__wc(fd, src->handle, 0, size, PROT_READ); d = gem_mmap__wc(fd, dst->handle, 0, size, PROT_WRITE); |