Skip to content

RFC Proposal for engine query uAPI

Matthew Brost intel-xe 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest2 patches 4 repliesIn review
  2. v1 RFC1 patch 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe/uapi: Use hw prefix for hardware enginesdrivers/gpu/drm/xe/xe_engine.c drivers/gpu/drm/xe/xe_query.c drivers/gpu/drm/xe/xe_wait_user_fence.c +1 more+20 -201 reply
2/2drm/xe/uapi: Add query engines uAPIinclude/uapi/drm/xe_drm.h+41 -03 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJosé Roberto de Souza
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Intel-xe] [RFC PATCH v3 0/2] Proposal for engine query uAPI

Adding a new IOCTL rather than reworking the DRM_IOCTL_XE_DEVICE_QUERY IOCTL. Reworking that is an option is people have a strong opinion on it but I personally like what I put together.

The media UMD needs something like this.

Let's agree on the uAPI and then get this implemented.

v2: Forgot local changes on the patch
v3: Add 'hw' prefix to hardware engines

Matthew Brost (2):
drm/xe/uapi: Use hw prefix for hardware engines
drm/xe/uapi: Add query engines uAPI

 drivers/gpu/drm/xe/xe_engine.c          | 12 +++---
 drivers/gpu/drm/xe/xe_query.c           | 12 +++---
 drivers/gpu/drm/xe/xe_wait_user_fence.c |  8 ++--
 include/uapi/drm/xe_drm.h               | 49 +++++++++++++++++++++++--
 4 files changed, 61 insertions(+), 20 deletions(-)
Signature · 1 line
2.34.1