summaryrefslogtreecommitdiff
path: root/tests/i915/gem_madvise.c
diff options
context:
space:
mode:
authorAndrzej Turko <andrzej.turko@linux.intel.com>2021-01-11 11:17:50 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2021-01-11 11:51:48 +0000
commit97a6f0b56ad9c4339be49a955671ebfc47b3133d (patch)
tree5235230793c120339e644526733ab2f942dce7d2 /tests/i915/gem_madvise.c
parent65c5eea699141e6f942ce0a8fc85db76ce53cd19 (diff)
lib/i915: Split gem_create.c from ioctl_wrappers.c
In preparation for a variation on the exisiting GEM_CREATE API, split the ioctl from out of the large ioctl_wrappers.c Signed-off-by: Andrzej Turko <andrzej.turko@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/i915/gem_madvise.c')
-rw-r--r--tests/i915/gem_madvise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/i915/gem_madvise.c b/tests/i915/gem_madvise.c
index 54c9beff..623c8b09 100644
--- a/tests/i915/gem_madvise.c
+++ b/tests/i915/gem_madvise.c
@@ -37,6 +37,7 @@
#include <signal.h>
#include "drm.h"
+#include "i915/gem.h"
IGT_TEST_DESCRIPTION("Checks that the kernel reports EFAULT when trying to use"
" purged bo.");