[Intel-xe] [RFC PATCH v3 0/2] Proposal for engine query uAPI
Matthew Brost
matthew.brost at intel.com
Thu Mar 23 02:57:59 UTC 2023
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(-)
--
2.34.1
More information about the Intel-xe
mailing list