summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorScott D Phillips <scott.d.phillips@intel.com>2017-12-06 15:11:20 -0800
committerBen Widawsky <ben@bwidawsk.net>2017-12-07 10:46:26 -0800
commit539a86ec60351329c534d5862a26a1060619841e (patch)
tree4df372c5229ea6f670a1972c258b562b2cc8b023 /lib
parent2fc64acf8a4465d5eab3d6cfec9b3c1b5df30d73 (diff)
lib: copy intel_aub.h from libdrm
No functionality related to aub is provided by libdrm aside from intel_aub.h which somewhat defines the file format. Move the header into this project to ease aub-related development. Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com> Acked-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am1
-rw-r--r--lib/intel_aub.h (renamed from lib/stubs/drm/intel_aub.h)0
-rw-r--r--lib/rendercopy_gen8.c2
-rw-r--r--lib/rendercopy_gen9.c2
-rw-r--r--lib/stubs/drm/README6
5 files changed, 5 insertions, 6 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index c19055ac..ab9eefe6 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -23,7 +23,6 @@ endif
if !HAVE_LIBDRM_INTEL
libintel_tools_la_SOURCES += \
- stubs/drm/intel_aub.h \
stubs/drm/intel_bufmgr.c \
stubs/drm/intel_bufmgr.h
endif
diff --git a/lib/stubs/drm/intel_aub.h b/lib/intel_aub.h
index 5f0aba8e..5f0aba8e 100644
--- a/lib/stubs/drm/intel_aub.h
+++ b/lib/intel_aub.h
diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c
index a7fc2c48..fe3fedfa 100644
--- a/lib/rendercopy_gen8.c
+++ b/lib/rendercopy_gen8.c
@@ -22,7 +22,7 @@
#include "intel_reg.h"
#include "igt_aux.h"
-#include <intel_aub.h>
+#include "intel_aub.h"
#define VERTEX_SIZE (3*4)
diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c
index 95374807..e646e97f 100644
--- a/lib/rendercopy_gen9.c
+++ b/lib/rendercopy_gen9.c
@@ -23,7 +23,7 @@
#include "intel_reg.h"
#include "igt_aux.h"
-#include <intel_aub.h>
+#include "intel_aub.h"
#define VERTEX_SIZE (3*4)
diff --git a/lib/stubs/drm/README b/lib/stubs/drm/README
index 118837c3..79f2b5f6 100644
--- a/lib/stubs/drm/README
+++ b/lib/stubs/drm/README
@@ -1,4 +1,4 @@
-intel_bufmgr.h and intel_aub.h are a local copy of the files provided by libdrm.
+intel_bufmgr.h is a local copy of the file provided by libdrm (intel/intel_bufmgr.h).
-Before releasing i-g-t a current copy of the files should be copied into this
-directory of i-g-t.
+Before releasing i-g-t a current copy of intel_bufmgr.h should be copied into
+this directory of i-g-t.