All of lore.kernel.org
 help / color / mirror / Atom feed
From: Emil Velikov <emil.l.velikov@gmail.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH i-g-t v2] lib: use the local intel_aub.h file
Date: Thu, 27 Oct 2016 10:38:38 +0100	[thread overview]
Message-ID: <20161027093838.26125-1-emil.l.velikov@gmail.com> (raw)
In-Reply-To: <20161026164839.22880-1-emil.l.velikov@gmail.com>

From: Emil Velikov <emil.velikov@collabora.com>

File is provided by the libdrm_intel package which is optional. Since we
already have a local copy of the file, we might as well use it ;-)

v2: Move the file alongside intel_bufmgr.h and use it in the
disable-intel case.

Cc: Brian Starkey <brian.starkey@arm.com>
Reported-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
---
 lib/stubs/drm/README                 | 6 +++---
 {tools => lib/stubs/drm}/intel_aub.h | 0
 tools/Makefile.am                    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename {tools => lib/stubs/drm}/intel_aub.h (100%)

diff --git a/lib/stubs/drm/README b/lib/stubs/drm/README
index 79f2b5f..118837c 100644
--- a/lib/stubs/drm/README
+++ b/lib/stubs/drm/README
@@ -1,4 +1,4 @@
-intel_bufmgr.h is a local copy of the file provided by libdrm (intel/intel_bufmgr.h).
+intel_bufmgr.h and intel_aub.h are a local copy of the files provided by libdrm.
 
-Before releasing i-g-t a current copy of intel_bufmgr.h should be copied into
-this directory of i-g-t.
+Before releasing i-g-t a current copy of the files should be copied into this
+directory of i-g-t.
diff --git a/tools/intel_aub.h b/lib/stubs/drm/intel_aub.h
similarity index 100%
rename from tools/intel_aub.h
rename to lib/stubs/drm/intel_aub.h
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 11ec2db..18f86f6 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -22,7 +22,7 @@ AM_LDFLAGS = -Wl,--as-needed
 module_LTLIBRARIES = intel_aubdump.la
 moduledir = $(libdir)
 intel_aubdump_la_LDFLAGS = -module -avoid-version -no-undefined
-intel_aubdump_la_SOURCES = aubdump.c intel_aub.h
+intel_aubdump_la_SOURCES = aubdump.c
 intel_aubdump_la_LIBADD = $(top_builddir)/lib/libintel_tools.la -ldl
 
 bin_SCRIPTS = intel_aubdump
-- 
2.9.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2016-10-27  9:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26 16:48 [PATCH i-g-t] lib: use the local intel_aub.h file Emil Velikov
2016-10-27  7:28 ` Daniel Vetter
2016-10-27  8:44   ` Brian Starkey
2016-10-27  9:38 ` Emil Velikov [this message]
2016-10-27 10:21   ` [PATCH i-g-t v2] " Brian Starkey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161027093838.26125-1-emil.l.velikov@gmail.com \
    --to=emil.l.velikov@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.