summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-05-06 23:08:46 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-05-07 15:03:58 +0100
commit8bde13ad8c4a5652b5ff67782ecbf2dde21faebf (patch)
tree3cdcbe4c49b262736a06aff3262ba37357137b14 /lib
parent91b5a3ef5516b29584ea4567b0f5ffa18219b29f (diff)
lib: drop drmtest dependency on intel_batchbuffer
It doesn't look like there should be a dependency there. v2: s/intel_batchbuffer/intel_reg/ v3: One more s/intel_batchbuffer/intel_reg/ in benchmarks Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Katarzyna Dec <katarzyna.dec@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/drmtest.h2
-rw-r--r--lib/gpgpu_fill.h2
-rw-r--r--lib/igt_draw.c1
-rw-r--r--lib/igt_dummyload.h1
-rw-r--r--lib/igt_fb.c1
-rw-r--r--lib/ioctl_wrappers.c1
6 files changed, 7 insertions, 1 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index fdd34ec6..949865ee 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -36,7 +36,7 @@
#include <xf86drm.h>
-#include "intel_batchbuffer.h"
+#include "igt_core.h"
#define DRIVER_INTEL (1 << 0)
#define DRIVER_VC4 (1 << 1)
diff --git a/lib/gpgpu_fill.h b/lib/gpgpu_fill.h
index f0d188ae..0190bfc1 100644
--- a/lib/gpgpu_fill.h
+++ b/lib/gpgpu_fill.h
@@ -27,6 +27,8 @@
#ifndef GPGPU_FILL_H
#define GPGPU_FILL_H
+#include "intel_batchbuffer.h"
+
void
gen7_gpgpu_fillfunc(struct intel_batchbuffer *batch,
struct igt_buf *dst,
diff --git a/lib/igt_draw.c b/lib/igt_draw.c
index 4c2b0fd9..ebae9151 100644
--- a/lib/igt_draw.c
+++ b/lib/igt_draw.c
@@ -27,6 +27,7 @@
#include "igt_draw.h"
#include "drmtest.h"
+#include "intel_batchbuffer.h"
#include "intel_chipset.h"
#include "igt_core.h"
#include "igt_fb.h"
diff --git a/lib/igt_dummyload.h b/lib/igt_dummyload.h
index a8ec213f..c6ccc293 100644
--- a/lib/igt_dummyload.h
+++ b/lib/igt_dummyload.h
@@ -29,6 +29,7 @@
#include <time.h>
#include "igt_aux.h"
+#include "i915_drm.h"
typedef struct igt_spin {
unsigned int handle;
diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 7404ba7c..34b1a261 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -34,6 +34,7 @@
#include "igt_kms.h"
#include "igt_x86.h"
#include "ioctl_wrappers.h"
+#include "intel_batchbuffer.h"
#include "intel_chipset.h"
/**
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index 4e1a08bf..79db44a8 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -49,6 +49,7 @@
#include "drmtest.h"
#include "i915_drm.h"
+#include "intel_batchbuffer.h"
#include "intel_chipset.h"
#include "intel_io.h"
#include "igt_debugfs.h"