[Intel-gfx] [RFC i-g-t 0/7] Remove compile time depencencies on libdrm_intel.
robert.foss at collabora.com
robert.foss at collabora.com
Wed May 25 18:18:49 UTC 2016
From: Robert Foss <robert.foss at collabora.com>
Changes since v1:
- Replaced the automake flags HAVE_VC4/NOUVEAU/INTEL with HAVE_LIBDRM_XXX.
- Move conditionals from Makefile.sources to Arduino.mk/Makefile.am.
- Removed duplicated i915_drm.h symbols from intel_drm_stubs.h.
- Replaced igt_require with igt_require_f to communicate stubs being the cause
of failure.
- Rename intel_drm_stubs to intel_bufmgr.
- Moved intel_bufmgr to lib/stubs/drm.
- Remove header inclusion changes in favor for inclusion of stubs in
lib/stubs/drm using build scripts.
- Rebased on trunk.
Robert Foss (7):
configure.ac: Test for libdrm_intel and build for it if present.
configure.ac: Harmonize HAVE_XXX flag for all drm platforms to
HAVE_LIBDRM_XXX.
benchmarks/Makefile: Don't build benchmarks that depend on
libdrm_intel.
tools/Makefile: Don't build tools that depend on libdrm_intel.
tools/Makefile: Format whitespace.
demos/Makefile: Don't build tools that depend on libdrm_intel.
lib/stubs: Add stubs for intel_bufmgr.
benchmarks/Android.mk | 6 +
benchmarks/Makefile.am | 5 +-
benchmarks/Makefile.sources | 14 +-
configure.ac | 22 ++-
demos/Android.mk | 5 +-
demos/Makefile.am | 8 +-
demos/Makefile.sources | 7 +
lib/Makefile.am | 9 +-
lib/stubs/drm/intel_bufmgr.c | 275 +++++++++++++++++++++++++++
lib/stubs/drm/intel_bufmgr.h | 430 +++++++++++++++++++++++++++++++++++++++++++
tests/Makefile.am | 4 +-
tools/Android.mk | 8 +
tools/Makefile.am | 8 +
tools/Makefile.sources | 73 ++++----
14 files changed, 818 insertions(+), 56 deletions(-)
create mode 100644 demos/Makefile.sources
create mode 100644 lib/stubs/drm/intel_bufmgr.c
create mode 100644 lib/stubs/drm/intel_bufmgr.h
--
2.7.4
More information about the Intel-gfx
mailing list