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>
This commit is contained in:
Chris Wilson 2014-09-12 09:08:41 +01:00
parent 3a1751ef34
commit 855dc6284d

View File

@ -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;