[Mesa-dev] [PATCH 0/2] anv/i965: drop libdrm dependency completely

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Apr 25 22:56:34 UTC 2017


Hi,

While working with changes that span from kernel to user space, I've
been wondering whether we need to depend on libdrm at all for the anv
& i965 drivers. Indeed with Ken's recent changes, we only depend on
libdrm for its kernel header files which we could just embed
ourselves.

I've only included the minimal set of header files we need from the
kernel for anv & i965. Maybe other drivers would be interested and
maybe we should put all the kernel drm uapi headers into include?

Cheers,

Lionel Landwerlin (2):
  aubinator: import intel_aub.h from libdrm
  anv/i965: drop libdrm dependency completely

 configure.ac                          |    4 -
 src/intel/Makefile.drm.am             |   22 +
 src/intel/Makefile.sources            |    4 +
 src/intel/Makefile.vulkan.am          |    3 +-
 src/intel/drm/drm.h                   |  907 +++++++++++++++++++++
 src/intel/drm/drm_fourcc.h            |  313 +++++++
 src/intel/drm/drm_mode.h              |  692 ++++++++++++++++
 src/intel/drm/i915_drm.h              | 1446 +++++++++++++++++++++++++++++++++
 src/intel/tools/intel_aub.h           |  153 ++++
 src/mesa/drivers/dri/i965/Makefile.am |    3 +-
 10 files changed, 3541 insertions(+), 6 deletions(-)
 create mode 100644 src/intel/Makefile.drm.am
 create mode 100644 src/intel/drm/drm.h
 create mode 100644 src/intel/drm/drm_fourcc.h
 create mode 100644 src/intel/drm/drm_mode.h
 create mode 100644 src/intel/drm/i915_drm.h
 create mode 100644 src/intel/tools/intel_aub.h

--
2.11.0


More information about the mesa-dev mailing list