summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-04-13 10:08:09 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-04-13 10:10:57 +0100
commitd2fe0190e0c941968905434e05cfaaaa803ee1c0 (patch)
tree91ea83d2e0e68ceb1815c585d82c04f89aea5d71 /tests
parente9cd7d532774f451df87eb567248e3b4210492b2 (diff)
igt/gem_cs_tlb: Mark up with DOMAIN_WC
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_cs_tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_cs_tlb.c b/tests/gem_cs_tlb.c
index 2ddb52a3..51e1c4e1 100644
--- a/tests/gem_cs_tlb.c
+++ b/tests/gem_cs_tlb.c
@@ -82,7 +82,7 @@ mmap_coherent(int fd, uint32_t handle, int size)
domain = I915_GEM_DOMAIN_CPU;
ptr = gem_mmap__cpu(fd, handle, 0, size, PROT_WRITE);
} else {
- domain = I915_GEM_DOMAIN_GTT;
+ domain = I915_GEM_DOMAIN_WC;
ptr = gem_mmap__wc(fd, handle, 0, size, PROT_WRITE);
}