Skip to content

uAPI Alignment - take 2

Francois Dugast igt-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/257 patches 1 replyIn review
  2. v3 posting 1/243 patches 6 repliesSuperseded
  3. v2 posting 2/264 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/250 patches23 repliesSuperseded
v1 RFC20 patches4 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/57drm-uapi/xe: Add check for access counter granularityinclude/drm-uapi/xe_drm.h+14 -00 replies
2/57drm-uapi/xe: Add documentation for queryinclude/drm-uapi/xe_drm.h+38 -30 replies
3/57drm-uapi/xe: Extend drm_xe_vm_bind_opinclude/drm-uapi/xe_drm.h+3 -00 replies
4/57drm-uapi/xe: Add uAPI to query micro-controler firmware versioninclude/drm-uapi/xe_drm.h+43 -00 replies
5/57drm-uapi/xe: Document DRM_XE_DEVICE_QUERY_HWCONFIGinclude/drm-uapi/xe_drm.h+5 -00 replies
6/57drm-uapi/xe: Extend uAPI to query HuC micro-controler firmware versioninclude/drm-uapi/xe_drm.h+1 -00 replies
7/57drm-uapi/xe: Remove useless XE_QUERY_CONFIG_NUM_PARAMinclude/drm-uapi/xe_drm.h+0 -40 replies
8/57drm-uapi/xe: Add missing DRM_ prefix in uAPI constantsinclude/drm-uapi/xe_drm.h lib/intel_batchbuffer.c lib/intel_blt.c +18 more+167 -1670 replies
9/57drm-uapi/xe: Add _FLAG to uAPI constants usable for flagsbenchmarks/gem_wsim.c include/drm-uapi/xe_drm.h lib/igt_fb.c +32 more+259 -2590 replies
10/57drm-uapi/xe: Make constant comments visible in kernel docinclude/drm-uapi/xe_drm.h+150 -1140 replies
11/57drm-uapi/xe: Change rsvd to pad in struct drm_xe_class_instanceinclude/drm-uapi/xe_drm.h+2 -20 replies
12/57drm-uapi/xe: Remove GT_TYPE_REMOTE.include/drm-uapi/xe_drm.h+2 -30 replies
13/57drm-uapi/xe: Kill VM_MADVISE IOCTL and the atomic testsinclude/drm-uapi/xe_drm.h lib/xe/xe_ioctl.c lib/xe/xe_ioctl.h +1 more+20 -2620 replies
14/57drm/xe_query: Remove backward compatibility of vram_visible_size.lib/xe/xe_query.c+7 -350 replies
15/57xe_ioctl: Converge bo_create to the most used versionlib/xe/xe_ioctl.c lib/xe/xe_ioctl.h tests/intel/xe_perf_pmu.c +2 more+8 -230 replies
16/57xe_ioctl: Rename *xe_bo_create_flags to simply xe_bo_createbenchmarks/gem_wsim.c lib/igt_draw.c lib/igt_fb.c +36 more+178 -1800 replies
17/57xe_query: Add missing include.lib/xe/xe_query.h+2 -00 replies
18/57xe_query: Kill visible_vram_if_possiblebenchmarks/gem_wsim.c lib/igt_draw.c lib/igt_fb.c +20 more+115 -700 replies
19/57drm-uapi/xe: Separate bo_create placement from flagsbenchmarks/gem_wsim.c include/drm-uapi/xe_drm.h lib/igt_draw.c +40 more+151 -1520 replies
20/57drm-uapi/xe: Remove unused inaccessible memory regioninclude/drm-uapi/xe_drm.h tests/intel/xe_query.c+0 -70 replies
21/57drm-uapi/xe: Remove unused QUERY_CONFIG_MEM_REGION_COUNTinclude/drm-uapi/xe_drm.h tests/intel/xe_query.c+1 -60 replies
22/57drm-uapi/xe: Remove unused QUERY_CONFIG_GT_COUNTinclude/drm-uapi/xe_drm.h lib/xe/xe_query.c lib/xe/xe_query.h +2 more+6 -170 replies
23/57drm-uapi/xe: Rename *_mem_regions mask.include/drm-uapi/xe_drm.h lib/xe/xe_query.c tests/intel/xe_query.c+16 -150 replies
24/57drm-uapi/xe: Rename query's mem_usage to mem_regionsinclude/drm-uapi/xe_drm.h lib/xe/xe_query.c lib/xe/xe_query.h +2 more+81 -810 replies
25/57xe: s/hw_engine/enginebenchmarks/gem_wsim.c lib/xe/xe_query.c lib/xe/xe_query.h +21 more+160 -1600 replies
26/57drm-uapi/xe: Align with drm_xe_query_engine_infobenchmarks/gem_wsim.c include/drm-uapi/xe_drm.h lib/xe/xe_query.c +6 more+48 -250 replies
27/57drm-uapi/xe: Replace BO with GEM in documentationinclude/drm-uapi/xe_drm.h+5 -50 replies
28/57drm-uapi/xe: Drop interrupt pmu eventinclude/drm-uapi/xe_drm.h+6 -70 replies
29/57drm-uapi/xe: Reject bo creation of unaligned sizeinclude/drm-uapi/xe_drm.h tests/intel/xe_mmap.c tests/intel/xe_prime_self_import.c +1 more+60 -260 replies
30/57lib: Fix 'otherwise' typoslib/drmtest.c lib/intel_allocator.c lib/xe/xe_spin.c+3 -30 replies
31/57xe: Rename 'hwe' to 'eci'benchmarks/gem_wsim.c lib/igt_dummyload.h lib/xe/xe_query.h +19 more+339 -3390 replies
32/57drm-uapi/xe: Split xe_sync types from flagsbenchmarks/gem_wsim.c include/drm-uapi/xe_drm.h lib/intel_batchbuffer.c +23 more+473 -2840 replies
33/57drm-uapi/xe: s/FLAGS_HAS_VRAM/FLAG_HAS_VRAMinclude/drm-uapi/xe_drm.h tests/intel/xe_debugfs.c tests/intel/xe_query.c+14 -140 replies
34/57drm-uapi/xe: Differentiate WAIT_OP from WAIT_MASKinclude/drm-uapi/xe_drm.h lib/xe/xe_ioctl.c+25 -240 replies
35/57drm-uapi/xe: Align with xe_exec ioctl reorderinclude/drm-uapi/xe_drm.h+41 -410 replies
36/57xe: Build all_memory_regions_mask out of memory_regions query infolib/xe/xe_query.c lib/xe/xe_query.h+6 -80 replies
37/57xe: Be more specific on the VRAM selectionbenchmarks/gem_wsim.c lib/igt_draw.c lib/igt_fb.c +28 more+141 -1050 replies
38/57xe: Do not stash vram_sizelib/xe/xe_query.c lib/xe/xe_query.h+14 -400 replies
39/57xe: Also be specific on VRAM selection when inspecting its sizeslib/xe/xe_query.c lib/xe/xe_query.h tests/intel/xe_evict.c +5 more+41 -220 replies
40/57lib/xe: Get current available size and sync with the 'any gt'.lib/xe/xe_query.c lib/xe/xe_query.h tests/intel/xe_evict_ccs.c+24 -240 replies
41/57tests/intel/xe_query: Fix test_query_enginestests/intel/xe_query.c+26 -60 replies
42/57drm-uapi/xe: Move memory_region masks from GT to enginebenchmarks/gem_wsim.c include/drm-uapi/xe_drm.h lib/xe/xe_query.c +16 more+93 -720 replies
43/57xe: Get near_mem_region directly from engine_info.benchmarks/gem_wsim.c lib/xe/xe_query.c lib/xe/xe_query.h +15 more+335 -3190 replies
44/57drm-uapi/xe: Document the memory_region bitmaskinclude/drm-uapi/xe_drm.h+18 -50 replies
45/57drm-uapi/xe: Be more specific about vm_bind prefetch regioninclude/drm-uapi/xe_drm.h lib/intel_batchbuffer.c lib/xe/xe_ioctl.c +3 more+15 -110 replies
46/57drm-uapi/xe: Convert tile_mask to a pt_placement_hintinclude/drm-uapi/xe_drm.h tests/intel/xe_vm.c+14 -40 replies
47/57drm-uapi/xe: Exec queue documentation and variable renamingbenchmarks/gem_wsim.c include/drm-uapi/xe_drm.h lib/xe/xe_ioctl.c +8 more+162 -920 replies
48/57drm-uapi/xe: Refactor engine informationbenchmarks/gem_wsim.c include/drm-uapi/xe_drm.h lib/xe/xe_ioctl.c +10 more+141 -670 replies
49/57drm-uapi/xe: Crystal Reference Clock updatesinclude/drm-uapi/xe_drm.h lib/xe/xe_query.c lib/xe/xe_query.h +2 more+46 -360 replies
50/57drm-uapi/xe: Add Tile ID information to the GT info queryinclude/drm-uapi/xe_drm.h tests/intel/xe_query.c+3 -01 reply
51/57lib/xe/xe_query: Fix improper handling of GT vs Tilelib/xe/xe_query.c lib/xe/xe_query.h tests/intel/xe_sysfs_tile.c+7 -80 replies
52/57drm-uapi/xe: Remove bogus engine list from the wait_user_fence IOCTLinclude/drm-uapi/xe_drm.h lib/xe/xe_ioctl.c lib/xe/xe_ioctl.h +7 more+35 -570 replies
53/57drm-uapi/xe: Align on a common way to return arrays (memory regions)include/drm-uapi/xe_drm.h lib/xe/xe_query.c lib/xe/xe_query.h +6 more+94 -940 replies
54/57drm-uapi/xe: Align on a common way to return arrays (gt)include/drm-uapi/xe_drm.h lib/xe/xe_query.c lib/xe/xe_query.h +2 more+27 -270 replies
55/57drm-uapi/xe: Align on a common way to return arrays (engines)benchmarks/gem_wsim.c include/drm-uapi/xe_drm.h lib/xe/xe_query.c +23 more+129 -1200 replies
56/57drm-uapi/xe: Add block diagram of a deviceinclude/drm-uapi/xe_drm.h+41 -00 replies
57/57drm-uapi/xe: Add examples of user space codeinclude/drm-uapi/xe_drm.h+84 -00 replies

Reviews trailers per patch

1 of 57 patches has a Reviewed-by or Acked-by.

PatchJanga Rahul Kumar
1/57
2/57
3/57
4/57
5/57
6/57
7/57
8/57
9/57
10/57
11/57
12/57
13/57
14/57
15/57
16/57
17/57
18/57
19/57
20/57
21/57
22/57
23/57
24/57
25/57
26/57
27/57
28/57
29/57
30/57
31/57
32/57
33/57
34/57
35/57
36/57
37/57
38/57
39/57
40/57
41/57
42/57
43/57
44/57
45/57
46/57
47/57
48/57
49/57
50/57R-b
51/57
52/57
53/57
54/57
55/57
56/57
57/57

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

Read the v3 thread

Cover letter [igt-dev] [PATCH v3 00/57] uAPI Alignment - take 2

This is the second take of uAPI updates that would lead to breakage in the compatibility, which 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.

v2: Rebase, drop "RFC", more uAPI fixes and cleanup, align to kernel

    series: https://patchwork.freedesktop.org/series/125955/

v3: Align to kernel series https://patchwork.freedesktop.org/series/126203/

Francois Dugast (24):
drm-uapi/xe: Add check for access counter granularity drm-uapi/xe: Add documentation for query
drm-uapi/xe: Extend drm_xe_vm_bind_op
drm-uapi/xe: Add uAPI to query micro-controler firmware version drm-uapi/xe: Document DRM_XE_DEVICE_QUERY_HWCONFIG drm-uapi/xe: Extend uAPI to query HuC micro-controler firmware version drm-uapi/xe: Remove useless XE_QUERY_CONFIG_NUM_PARAM drm-uapi/xe: Add missing DRM_ prefix in uAPI constants drm-uapi/xe: Add _FLAG to uAPI constants usable for flags drm-uapi/xe: Make constant comments visible in kernel doc drm-uapi/xe: Change rsvd to pad in struct drm_xe_class_instance drm-uapi/xe: Remove unused inaccessible memory region drm-uapi/xe: Remove unused QUERY_CONFIG_MEM_REGION_COUNT drm-uapi/xe: Remove unused QUERY_CONFIG_GT_COUNT drm-uapi/xe: Replace BO with GEM in documentation drm-uapi/xe: Drop interrupt pmu event
drm-uapi/xe: Reject bo creation of unaligned size drm-uapi/xe: Align with xe_exec ioctl reorder
drm-uapi/xe: Document the memory_region bitmask drm-uapi/xe: Align on a common way to return arrays (memory regions) drm-uapi/xe: Align on a common way to return arrays (gt) drm-uapi/xe: Align on a common way to return arrays (engines) drm-uapi/xe: Add block diagram of a device
drm-uapi/xe: Add examples of user space code

Rodrigo Vivi (33):
drm-uapi/xe: Remove GT_TYPE_REMOTE.
drm-uapi/xe: Kill VM_MADVISE IOCTL and the atomic tests drm/xe_query: Remove backward compatibility of vram_visible_size.
xe_ioctl: Converge bo_create to the most used version
xe_ioctl: Rename *xe_bo_create_flags to simply xe_bo_create
xe_query: Add missing include.
xe_query: Kill visible_vram_if_possible
drm-uapi/xe: Separate bo_create placement from flags drm-uapi/xe: Rename *_mem_regions mask.
drm-uapi/xe: Rename query's mem_usage to mem_regions
xe: s/hw_engine/engine
drm-uapi/xe: Align with drm_xe_query_engine_info
lib: Fix 'otherwise' typos
xe: Rename 'hwe' to 'eci'
drm-uapi/xe: Split xe_sync types from flags
drm-uapi/xe: s/FLAGS_HAS_VRAM/FLAG_HAS_VRAM
drm-uapi/xe: Differentiate WAIT_OP from WAIT_MASK
xe: Build all_memory_regions_mask out of memory_regions query info
xe: Be more specific on the VRAM selection
xe: Do not stash vram_size
xe: Also be specific on VRAM selection when inspecting its sizes lib/xe: Get current available size and sync with the 'any gt'. tests/intel/xe_query: Fix test_query_engines
drm-uapi/xe: Move memory_region masks from GT to engine
xe: Get near_mem_region directly from engine_info. drm-uapi/xe: Be more specific about vm_bind prefetch region drm-uapi/xe: Convert tile_mask to a pt_placement_hint drm-uapi/xe: Exec queue documentation and variable renaming drm-uapi/xe: Refactor engine information
drm-uapi/xe: Crystal Reference Clock updates
drm-uapi/xe: Add Tile ID information to the GT info query lib/xe/xe_query: Fix improper handling of GT vs Tile drm-uapi/xe: Remove bogus engine list from the wait_user_fence IOCTL

 benchmarks/gem_wsim.c                    |  154 +--
 include/drm-uapi/xe_drm.h                | 1348 ++++++++++++++--------
 lib/drmtest.c                            |    2 +-
 lib/igt_draw.c                           |    9 +-
 lib/igt_dummyload.h                      |    2 +-
 lib/igt_fb.c                             |   13 +-
 lib/intel_allocator.c                    |    2 +-
 lib/intel_batchbuffer.c                  |   35 +-
 lib/intel_blt.c                          |    6 +-
 lib/intel_bufops.c                       |    2 +-
 lib/intel_compute.c                      |    8 +-
 lib/intel_ctx.c                          |    5 +-
 lib/xe/xe_ioctl.c                        |  122 +-
 lib/xe/xe_ioctl.h                        |   14 +-
 lib/xe/xe_query.c                        |  365 +++---
 lib/xe/xe_query.h                        |   68 +-
 lib/xe/xe_spin.c                         |   37 +-
 lib/xe/xe_spin.h                         |    2 +-
 lib/xe/xe_util.c                         |   24 +-
 lib/xe/xe_util.h                         |    4 +-
 tests/intel-ci/xe-fast-feedback.testlist |    2 +-
 tests/intel/api_intel_allocator.c        |    4 +-
 tests/intel/kms_big_fb.c                 |   24 +-
 tests/intel/kms_ccs.c                    |    5 +-
 tests/intel/kms_psr.c                    |    2 +-
 tests/intel/xe_access_counter.c          |    8 +-
 tests/intel/xe_ccs.c                     |   20 +-
 tests/intel/xe_copy_basic.c              |   14 +-
 tests/intel/xe_create.c                  |   25 +-
 tests/intel/xe_debugfs.c                 |   14 +-
 tests/intel/xe_dma_buf_sync.c            |   36 +-
 tests/intel/xe_drm_fdinfo.c              |   41 +-
 tests/intel/xe_evict.c                   |  113 +-
 tests/intel/xe_evict_ccs.c               |   19 +-
 tests/intel/xe_exec_balancer.c           |  189 +--
 tests/intel/xe_exec_basic.c              |   62 +-
 tests/intel/xe_exec_compute_mode.c       |   48 +-
 tests/intel/xe_exec_fault_mode.c         |  235 +---
 tests/intel/xe_exec_reset.c              |  227 ++--
 tests/intel/xe_exec_store.c              |  106 +-
 tests/intel/xe_exec_threads.c            |  189 +--
 tests/intel/xe_exercise_blt.c            |   10 +-
 tests/intel/xe_guc_pc.c                  |   33 +-
 tests/intel/xe_huc_copy.c                |   17 +-
 tests/intel/xe_intel_bb.c                |    7 +-
 tests/intel/xe_mmap.c                    |   71 +-
 tests/intel/xe_noexec_ping_pong.c        |   15 +-
 tests/intel/xe_perf_pmu.c                |   85 +-
 tests/intel/xe_pm.c                      |   79 +-
 tests/intel/xe_pm_residency.c            |   31 +-
 tests/intel/xe_prime_self_import.c       |   63 +-
 tests/intel/xe_query.c                   |  222 ++--
 tests/intel/xe_spin_batch.c              |   63 +-
 tests/intel/xe_sysfs_tile.c              |    2 +-
 tests/intel/xe_vm.c                      |  367 +++---
 tests/intel/xe_waitfence.c               |   26 +-
 tests/kms_addfb_basic.c                  |    2 +-
 tests/kms_getfb.c                        |    2 +-
 tests/kms_plane.c                        |    2 +-
 59 files changed, 2598 insertions(+), 2104 deletions(-)
Signature · 1 line
2.34.1