summaryrefslogtreecommitdiff
path: root/benchmarks/gem_exec_reloc.c
diff options
context:
space:
mode:
authorAntonio Argenziano <antonio.argenziano@intel.com>2019-02-26 09:30:44 -0800
committerAntonio Argenziano <antonio.argenziano@intel.com>2019-02-26 10:05:17 -0800
commit1d8f3320cbc06fa73ad1487453a63993f17b9d57 (patch)
treec20bcfd4b28dea62991695a29449079abe2a2265 /benchmarks/gem_exec_reloc.c
parentc33e271dadd2a800d1b2ef198e1dcd4e5868cc4c (diff)
lib/i915: Move mmap IOCTLs wrappers into separate file
Move all mmap flavours and support function to separate file in i915 folder. This helps with moving i915 specific functions away from common libraries. v2: - Autotools still exists. (Petri) - Include gem_mman.h directly. (Chris) v3: - Keep includes explicit. (Chris) Signed-off-by: Antonio Argenziano <antonio.argenziano@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Petri Latvala <petri.latvala@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/gem_exec_reloc.c')
-rw-r--r--benchmarks/gem_exec_reloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmarks/gem_exec_reloc.c b/benchmarks/gem_exec_reloc.c
index f9487d95..c734643c 100644
--- a/benchmarks/gem_exec_reloc.c
+++ b/benchmarks/gem_exec_reloc.c
@@ -40,6 +40,7 @@
#include "ioctl_wrappers.h"
#include "igt_debugfs.h"
#include "drmtest.h"
+#include "i915/gem_mman.h"
#define LOCAL_I915_EXEC_NO_RELOC (1<<11)
#define LOCAL_I915_EXEC_HANDLE_LUT (1<<12)