All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Anholt <eric@anholt.net>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH i-g-t 0/5] Import drm UAPI headers.
Date: Fri, 10 Nov 2017 13:26:13 -0800	[thread overview]
Message-ID: <20171110212618.904-1-eric@anholt.net> (raw)

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

-- 
2.15.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2017-11-10 21:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-10 21:26 Eric Anholt [this message]
2017-11-10 21:26 ` [PATCH i-g-t 1/5] headers: Import drm-next uapi headers Eric Anholt
2017-11-10 21:26 ` [PATCH i-g-t 2/5] tests: Convert to using the imported drm-uapi headers Eric Anholt
2017-11-11  0:18   ` Lionel Landwerlin
2017-11-13 20:59     ` Eric Anholt
2017-11-10 21:26 ` [PATCH i-g-t 3/5] tests: Remove libdrm_vc4 dependency Eric Anholt
2017-11-22 10:37   ` Petri Latvala
2017-11-10 21:26 ` [PATCH i-g-t 4/5] lib: Use the imported uapi's addfb2 defines Eric Anholt
2017-11-10 21:26 ` [PATCH i-g-t 5/5] lib: Use drm-uapi/i915_drm.h instead of local defines Eric Anholt
2017-11-10 21:44 ` ✓ Fi.CI.BAT: success for Import drm UAPI headers Patchwork
2017-11-10 23:04 ` ✗ Fi.CI.IGT: warning " Patchwork
2017-11-11  0:27 ` [PATCH i-g-t 0/5] " Lionel Landwerlin
2017-11-13 11:40   ` Petri Latvala
2017-11-20 10:41     ` Daniel Vetter
2017-11-20 20:06     ` Eric Anholt
2017-11-21  9:05       ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171110212618.904-1-eric@anholt.net \
    --to=eric@anholt.net \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.