Skip to content

uAPI Alignment - take 1

Rodrigo Vivi igt-dev intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16drm-uapi/xe_drm: Align with new PMU interfaceinclude/drm-uapi/xe_drm.h+38 -02 replies
2/16tests/intel/xe_query: Add a test for querying cs cyclesinclude/drm-uapi/xe_drm.h tests/intel/xe_query.c+277 -180 replies
3/16drm-uapi/xe_drm: Separate VM_BIND's operation and flag, align with latest uapiinclude/drm-uapi/xe_drm.h lib/intel_batchbuffer.c lib/xe/xe_ioctl.c +5 more+51 -401 reply
4/16drm-uapi/xe_drm: Remove MMIO ioctl and align with latest uapiinclude/drm-uapi/xe_drm.h tests/intel-ci/xe-fast-feedback.testlist tests/intel/xe_mmio.c +3 more+4 -4880 replies
5/16xe_exec_balancer: Enable parallel submission and compute modetests/intel/xe_exec_balancer.c+15 -60 replies
6/16xe_exec_threads: Use DRM_XE_VM_CREATE_COMPUTE_MODE when creating a compute VMtests/intel/xe_exec_threads.c+2 -20 replies
7/16xe: Update uAPI and remove XE_EXEC_QUEUE_SET_PROPERTY_COMPUTE_MODEinclude/drm-uapi/xe_drm.h tests/intel/xe_evict.c tests/intel/xe_exec_balancer.c +4 more+18 -780 replies
8/16drm-uapi/xe: Use common drm_xe_ext_set_property extensioninclude/drm-uapi/xe_drm.h tests/intel/xe_exec_reset.c tests/intel/xe_exec_threads.c +1 more+11 -260 replies
9/16drm-uapi: Kill XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS extensioninclude/drm-uapi/xe_drm.h tests/intel/xe_exec_threads.c tests/intel/xe_vm.c+3 -470 replies
10/16drm-uapi/xe: Replace useless 'instance' per unique gt_idinclude/drm-uapi/xe_drm.h tests/intel/xe_query.c+44 -230 replies
11/16drm-uapi/xe: Remove unused field of drm_xe_query_gtinclude/drm-uapi/xe_drm.h tests/intel/xe_query.c+0 -30 replies
12/16drm-uapi/xe: Rename gts to gt_listinclude/drm-uapi/xe_drm.h lib/xe/xe_query.c lib/xe/xe_query.h +3 more+62 -620 replies
13/16drm-uapi/xe: Fix naming of XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITYinclude/drm-uapi/xe_drm.h tests/intel/xe_query.c+4 -40 replies
14/16drm-uapi/xe: Align with documentation updatesinclude/drm-uapi/xe_drm.h+38 -30 replies
15/16drm-uapi/xe: Align with Crystal Reference Clock updatesinclude/drm-uapi/xe_drm.h lib/xe/xe_query.c lib/xe/xe_query.h +2 more+39 -350 replies
16/16drm-uapi/xe: Align with extension of drm_xe_vm_bind_opinclude/drm-uapi/xe_drm.h+3 -00 replies

Reviews trailers per patch

3 of 16 patches have a Reviewed-by or Acked-by.

PatchNiranjana VishwanathapuraMatthew Brost
1/16
2/16
3/16R-b
4/16
5/16
6/16R-b
7/16R-b
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

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

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 00/16] uAPI Alignment - take 1

As a result of the uAPI review efforts started by Thomas[1], we have identified many updates on our uAPI that would lead to breakage in the compatibility. What it is not acceptable after we are merged upstream. So, let's break it before it is too late, and start upstreaming a good, reliable and clean uapi.

Most of this work on putting these patches together for a single shot was led by Francois.

[1] - https://lore.kernel.org/all/[email protected]/

Francois Dugast (2):
drm-uapi/xe_drm: Separate VM_BIND's operation and flag, align with
latest uapi
drm-uapi/xe_drm: Remove MMIO ioctl and align with latest uapi

Matthew Brost (3):
xe_exec_balancer: Enable parallel submission and compute mode
xe_exec_threads: Use DRM_XE_VM_CREATE_COMPUTE_MODE when creating a
compute VM
xe: Update uAPI and remove XE_EXEC_QUEUE_SET_PROPERTY_COMPUTE_MODE

Rodrigo Vivi (10):
drm-uapi/xe_drm: Align with new PMU interface
drm-uapi/xe: Use common drm_xe_ext_set_property extension
drm-uapi: Kill XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS extension drm-uapi/xe: Replace useless 'instance' per unique gt_id drm-uapi/xe: Remove unused field of drm_xe_query_gt drm-uapi/xe: Rename gts to gt_list
drm-uapi/xe: Fix naming of XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY drm-uapi/xe: Align with documentation updates
drm-uapi/xe: Align with Crystal Reference Clock updates drm-uapi/xe: Align with extension of drm_xe_vm_bind_op

Umesh Nerlige Ramappa (1):
tests/intel/xe_query: Add a test for querying cs cycles

 include/drm-uapi/xe_drm.h                | 360 +++++++++++++---------
 lib/intel_batchbuffer.c                  |  11 +-
 lib/xe/xe_ioctl.c                        |  31 +-
 lib/xe/xe_ioctl.h                        |   6 +-
 lib/xe/xe_query.c                        |  73 +++--
 lib/xe/xe_query.h                        |  11 +-
 lib/xe/xe_spin.c                         |  11 +-
 lib/xe/xe_util.c                         |   9 +-
 tests/intel-ci/xe-fast-feedback.testlist |   4 +-
 tests/intel/xe_evict.c                   |  14 +-
 tests/intel/xe_exec_balancer.c           |  29 +-
 tests/intel/xe_exec_basic.c              |   2 +-
 tests/intel/xe_exec_compute_mode.c       |  20 +-
 tests/intel/xe_exec_reset.c              |  18 +-
 tests/intel/xe_exec_threads.c            |  35 +--
 tests/intel/xe_mmio.c                    |  91 ------
 tests/intel/xe_noexec_ping_pong.c        |  10 +-
 tests/intel/xe_query.c                   | 226 ++++++++++++--
 tests/intel/xe_vm.c                      |  29 +-
 tests/meson.build                        |   1 -
 tools/meson.build                        |   1 -
 tools/xe_reg.c                           | 366 -----------------------
 22 files changed, 566 insertions(+), 792 deletions(-)
 delete mode 100644 tests/intel/xe_mmio.c
 delete mode 100644 tools/xe_reg.c
Signature · 1 line
2.41.0