Skip to content

RFC Some uapi alignment in response to the uapi review

Rodrigo Vivi intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/xe: Kill XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS extensiondrivers/gpu/drm/xe/xe_vm.c include/uapi/drm/xe_drm.h+4 -1661 reply
2/5drm/xe/uapi: Document drm_xe_query_gt.include/uapi/drm/xe_drm.h+43 -226 replies
3/5drm/xe/uapi: Replace useless 'instance' per unique gt_id.drivers/gpu/drm/xe/xe_gt_types.h drivers/gpu/drm/xe/xe_pci.c drivers/gpu/drm/xe/xe_query.c +1 more+4 -80 replies
4/5drm/xe/uapi: Remove unused field of drm_xe_query_gtinclude/uapi/drm/xe_drm.h+0 -20 replies
5/5drm/xe/uapi: Rename gts to gt_list.drivers/gpu/drm/xe/xe_query.c include/uapi/drm/xe_drm.h+29 -291 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchMatt RoperMatthew Brost
1/5R-b
2/5
3/5
4/5
5/5R-b

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

Read the v1 thread

Cover letter [Intel-xe] [RFC 0/5] Some uapi alignment in response to the uapi review

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The most intrusive in this series is the s/gts/gt_list. I could live with gts, but it looks like gt_list is preferred one.

Another one that I'm looking for inputs is in the consolidation of the gt_id as the unique number withing the PCI device, i.e., regarless of the tile.

so we might have
tile0/gt0
tile0/gt1
tile1/gt2
tile1/gt3

instead of the other option
which would be the gt_id per tile:
tile0/gt0
tile0/gt1
tile1/gt0
tile1/gt1

After this consolidation I'm planning to go and even remove the tile<n> from the sysfs and tile would become an information file inside the gt directory.

Thoughts?

Thanks,
Rodrigo.

Rodrigo Vivi (5):
drm/xe: Kill XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS extension drm/xe/uapi: Document drm_xe_query_gt.
drm/xe/uapi: Replace useless 'instance' per unique gt_id. drm/xe/uapi: Remove unused field of drm_xe_query_gt drm/xe/uapi: Rename gts to gt_list.

 drivers/gpu/drm/xe/xe_gt_types.h |   2 +-
 drivers/gpu/drm/xe/xe_pci.c      |   4 -
 drivers/gpu/drm/xe/xe_query.c    |  40 +++++-----
 drivers/gpu/drm/xe/xe_vm.c       | 129 +------------------------------
 include/uapi/drm/xe_drm.h        | 116 ++++++++++++---------------
 5 files changed, 72 insertions(+), 219 deletions(-)
Signature · 1 line
2.41.0