summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-09-12 09:08:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-09-12 09:10:01 +0100
commit855dc6284d97931dbe59725cfc7b0b160b0a37b2 (patch)
tree1d63347d127931b336357c0c425aa186c069ce8e /tests
parent3a1751ef34c32c5d288a328d855bec49ad0eaf9f (diff)
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_userptr_blits.c3
1 files changed, 3 insertions, 0 deletions
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;