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
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to