From b3d038a2b930724f1e1b45d1b149efa72ab2cbf0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 14 Jul 2014 10:30:36 +0100 Subject: [PATCH] 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 --- tests/gem_userptr_blits.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_userptr_blits.c b/tests/gem_userptr_blits.c index 11aa21e..2eb127f 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)); -- 2.7.4