summaryrefslogtreecommitdiff
path: root/benchmarks
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
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')
-rw-r--r--benchmarks/gem_busy.c1
-rw-r--r--benchmarks/gem_exec_reloc.c1
-rw-r--r--benchmarks/gem_mmap.c1
-rw-r--r--benchmarks/gem_wsim.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/benchmarks/gem_busy.c b/benchmarks/gem_busy.c
index ca517a16..2fb1edf9 100644
--- a/benchmarks/gem_busy.c
+++ b/benchmarks/gem_busy.c
@@ -45,6 +45,7 @@
#include "intel_chipset.h"
#include "intel_reg.h"
#include "igt_stats.h"
+#include "i915/gem_mman.h"
#define LOCAL_I915_EXEC_NO_RELOC (1<<11)
#define LOCAL_I915_EXEC_HANDLE_LUT (1<<12)
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)
diff --git a/benchmarks/gem_mmap.c b/benchmarks/gem_mmap.c
index c809e087..d3d4ad31 100644
--- a/benchmarks/gem_mmap.c
+++ b/benchmarks/gem_mmap.c
@@ -43,6 +43,7 @@
#include "drmtest.h"
#include "igt_aux.h"
#include "igt_stats.h"
+#include "i915/gem_mman.h"
#define OBJECT_SIZE (1<<23)
diff --git a/benchmarks/gem_wsim.c b/benchmarks/gem_wsim.c
index 5a4753d9..0a5abc08 100644
--- a/benchmarks/gem_wsim.c
+++ b/benchmarks/gem_wsim.c
@@ -53,6 +53,7 @@
#include "igt_rand.h"
#include "igt_perf.h"
#include "sw_sync.h"
+#include "i915/gem_mman.h"
#include "ewma.h"