From: Chris Wilson Date: Mon, 14 Jul 2014 09:30:36 +0000 (+0100) Subject: igt/gem_userptr_blits: Add missing RAM check before coherency tests X-Git-Tag: intel-gpu-tools-1.8~160 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3d038a2b930724f1e1b45d1b149efa72ab2cbf0;p=platform%2Fupstream%2Fintel-gpu-tools.git 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 --- 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));