anv/i965: drop libdrm_intel dependency completely
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 15 Jun 2017 11:28:32 +0000 (12:28 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 27 Jun 2017 11:10:29 +0000 (14:10 +0300)
commit7dd20bc3ee8f816648075a12d21b6b01a8e03507
tree30561f38e9482a69eea912c1da49a663de764885
parent3c50ebce259f63392122a6ace32d07055e0bff1a
anv/i965: drop libdrm_intel dependency completely

With Ken's work to drop the library dependency on libdrm_intel, we now
only depend on libdrm for the kernel uapi headers it provides. It
seems like we're better off just embeddeding those headers ourselves,
making the lives of people developping news features tightly
integrated with the kernel a tiny bit easier.

This change also makes it a bit more obvious what cflags/libs are
required by the i915 drivers vs i965, by renaming INTEL_CFLAGS/LIBS
into I915_CFLAGS/LIBS.

Headers were generated from drm-tip on the following commit :

   commit 6d61e70ccc21606ffb8a0a03bd3aba24f659502b
   Merge: 338ffbf7cb5e c0bc126f97fb
   Author: Dave Airlie <airlied@redhat.com>
   Date:   Tue Jun 27 07:24:49 2017 +1000

       Backmerge tag 'v4.12-rc7' into drm-next

v2: Use installed files from the kernel (Daniel Vetter)

v3: Use headers from drm-next rather than drm-tip (Dave/Daniel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
configure.ac
src/intel/Makefile.drm.am [new file with mode: 0644]
src/intel/Makefile.sources
src/intel/Makefile.tools.am
src/intel/Makefile.vulkan.am
src/intel/drm/README [new file with mode: 0644]
src/intel/drm/drm.h [new file with mode: 0644]
src/intel/drm/drm_fourcc.h [new file with mode: 0644]
src/intel/drm/drm_mode.h [new file with mode: 0644]
src/intel/drm/i915_drm.h [new file with mode: 0644]
src/mesa/drivers/dri/i965/Makefile.am