summaryrefslogtreecommitdiff
path: root/tests/gem_userptr_blits.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-07-14 10:30:36 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-07-14 10:33:55 +0100
commitb3d038a2b930724f1e1b45d1b149efa72ab2cbf0 (patch)
tree66293b95674220130dc2e0c42478ae2fd5d92914 /tests/gem_userptr_blits.c
parent52ac9a4b57f20f2dc019a973237f2f97ddb0ebf3 (diff)
igt/gem_userptr_blits: Add missing RAM check before coherency tests
-ENOCOFFE. References: https://bugs.freedesktop.org/show_bug.cgi?id=79237 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_userptr_blits.c')
-rw-r--r--tests/gem_userptr_blits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_userptr_blits.c b/tests/gem_userptr_blits.c
index 11aa21ee..2eb127f7 100644
--- a/tests/gem_userptr_blits.c
+++ b/tests/gem_userptr_blits.c
@@ -835,7 +835,7 @@ static int test_coherency(int fd, int count)
uint32_t start = 0;
int i, ret;
- igt_require(count, sizeof(linear), CHECK_RAM);
+ igt_require(intel_check_memory(count, sizeof(linear), CHECK_RAM));
igt_info("Using 2x%d 1MiB buffers\n", count);
ret = posix_memalign((void **)&memory, PAGE_SIZE, count*sizeof(linear));