Skip to content

Import drm UAPI headers.

Eric Anholt intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5headers: Import drm-next uapi headers.README include/drm-uapi/amdgpu_drm.h include/drm-uapi/armada_drm.h +23 more+10919 -00 replies
2/5tests: Convert to using the imported drm-uapi headers.lib/Makefile.am meson.build tests/Makefile.am+6 -22 replies
3/5tests: Remove libdrm_vc4 dependency.configure.ac lib/Makefile.am lib/meson.build +3 more+13 -361 reply
4/5lib: Use the imported uapi's addfb2 defines.lib/ioctl_wrappers.c+2 -20 replies
5/5lib: Use drm-uapi/i915_drm.h instead of local defines.benchmarks/Makefile.am benchmarks/gem_wsim.c lib/i915/gem_context.c +5 more+92 -1310 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLionel LandwerlinPetri LatvalaDaniel Vetter
SeriesR-b A-b A-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH i-g-t 0/5] Import drm UAPI headers.

This series imports the UAPI headers from Linux, like we've been doing in Mesa for vc4 and i965. The advantage is that it lets you build new kernel UAPI and testcases together, without needing libdrm releases, and has a simple rule for producing header updates (avoiding the need for the LOCAL_* define hacks that have been proliferating in the tree)

I started on converting i915 to not use LOCAL_*, but it's more than I'm willing to complete.

Eric Anholt (5):
headers: Import drm-next uapi headers.
tests: Convert to using the imported drm-uapi headers.
tests: Remove libdrm_vc4 dependency.
lib: Use the imported uapi's addfb2 defines.
lib: Use drm-uapi/i915_drm.h instead of local defines.

 README                         |    8 +
 benchmarks/Makefile.am         |    6 +-
 benchmarks/gem_wsim.c          |    6 +-
 configure.ac                   |   12 +-
 include/drm-uapi/amdgpu_drm.h  |  930 ++++++++++++++++++++++++
 include/drm-uapi/armada_drm.h  |   55 ++
 include/drm-uapi/drm.h         |  988 +++++++++++++++++++++++++
 include/drm-uapi/drm_fourcc.h  |  410 +++++++++++
 include/drm-uapi/drm_mode.h    |  855 ++++++++++++++++++++++
 include/drm-uapi/drm_sarea.h   |   92 +++
 include/drm-uapi/etnaviv_drm.h |  282 ++++++++
 include/drm-uapi/exynos_drm.h  |  373 ++++++++++
 include/drm-uapi/i810_drm.h    |  291 ++++++++
 include/drm-uapi/i915_drm.h    | 1542 ++++++++++++++++++++++++++++++++++++++++
 include/drm-uapi/mga_drm.h     |  427 +++++++++++
 include/drm-uapi/msm_drm.h     |  306 ++++++++
 include/drm-uapi/nouveau_drm.h |  152 ++++
 include/drm-uapi/omap_drm.h    |  125 ++++
 include/drm-uapi/qxl_drm.h     |  158 ++++
 include/drm-uapi/r128_drm.h    |  336 +++++++++
 include/drm-uapi/radeon_drm.h  | 1078 ++++++++++++++++++++++++++++
 include/drm-uapi/savage_drm.h  |  220 ++++++
 include/drm-uapi/sis_drm.h     |   77 ++
 include/drm-uapi/tegra_drm.h   |  209 ++++++
 include/drm-uapi/vc4_drm.h     |  359 ++++++++++
 include/drm-uapi/vgem_drm.h    |   62 ++
 include/drm-uapi/via_drm.h     |  282 ++++++++
 include/drm-uapi/virtgpu_drm.h |  174 +++++
 include/drm-uapi/vmwgfx_drm.h  | 1128 +++++++++++++++++++++++++++++
 lib/Makefile.am                |    7 +-
 lib/i915/gem_context.c         |   46 +-
 lib/i915/gem_context.h         |   19 +-
 lib/igt_gt.c                   |   38 +-
 lib/ioctl_wrappers.c           |   71 +-
 lib/meson.build                |    6 +-
 meson.build                    |    3 +-
 tests/Makefile.am              |   16 +-
 tests/gem_ctx_param.c          |   38 +-
 tests/meson.build              |   16 +-
 39 files changed, 11032 insertions(+), 171 deletions(-)
 create mode 100644 include/drm-uapi/amdgpu_drm.h
 create mode 100644 include/drm-uapi/armada_drm.h
 create mode 100644 include/drm-uapi/drm.h
 create mode 100644 include/drm-uapi/drm_fourcc.h
 create mode 100644 include/drm-uapi/drm_mode.h
 create mode 100644 include/drm-uapi/drm_sarea.h
 create mode 100644 include/drm-uapi/etnaviv_drm.h
 create mode 100644 include/drm-uapi/exynos_drm.h
 create mode 100644 include/drm-uapi/i810_drm.h
 create mode 100644 include/drm-uapi/i915_drm.h
 create mode 100644 include/drm-uapi/mga_drm.h
 create mode 100644 include/drm-uapi/msm_drm.h
 create mode 100644 include/drm-uapi/nouveau_drm.h
 create mode 100644 include/drm-uapi/omap_drm.h
 create mode 100644 include/drm-uapi/qxl_drm.h
 create mode 100644 include/drm-uapi/r128_drm.h
 create mode 100644 include/drm-uapi/radeon_drm.h
 create mode 100644 include/drm-uapi/savage_drm.h
 create mode 100644 include/drm-uapi/sis_drm.h
 create mode 100644 include/drm-uapi/tegra_drm.h
 create mode 100644 include/drm-uapi/vc4_drm.h
 create mode 100644 include/drm-uapi/vgem_drm.h
 create mode 100644 include/drm-uapi/via_drm.h
 create mode 100644 include/drm-uapi/virtgpu_drm.h
 create mode 100644 include/drm-uapi/vmwgfx_drm.h
Signature · 6 lines
2.15.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx