From 855dc6284d97931dbe59725cfc7b0b160b0a37b2 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 12 Sep 2014 09:08:41 +0100 Subject: [PATCH] igt/gem_userptr_blits: GTT mmaping a userptr requires llc Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83790 Signed-off-by: Chris Wilson --- tests/gem_userptr_blits.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/gem_userptr_blits.c b/tests/gem_userptr_blits.c index 54134094..96aee524 100644 --- a/tests/gem_userptr_blits.c +++ b/tests/gem_userptr_blits.c @@ -566,6 +566,9 @@ static int test_invalid_gtt_mapping(int fd) #define PE_BUSY 0x2 static void test_process_exit(int fd, int flags) { + if (flags & PE_GTT_MAP) + igt_require(gem_has_llc(fd)); + igt_fork(child, 1) { uint32_t handle;