[Intel-xe] [PATCH v2 00/50] uAPI Alignment - take 2

Francois Dugast francois.dugast at intel.com
Fri Nov 3 14:34:06 UTC 2023


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

Aravind Iddamsetty (1):
  drm/xe/pmu: Drop interrupt pmu event

Francois Dugast (20):
  fixup! drm/xe: Correlate engine and cpu timestamps with better
    accuracy
  drm/xe/uapi: Add documentation for query
  drm/xe/uapi: Document DRM_XE_DEVICE_QUERY_HWCONFIG
  drm/xe: Extend uAPI to query HuC micro-controler firmware version
  drm/xe: Remove useless query config num_params
  drm/xe/uapi: Add missing DRM_ prefix in uAPI constants
  drm/xe/uapi: Add _FLAG to uAPI constants usable for flags
  fixup! drm/xe: Add uAPI to query micro-controler firmware version
  drm/xe/uapi: Make constant comments visible in kernel doc
  drm/xe/uapi: Remove unused inaccessible memory region
  drm/xe/uapi: Remove unused QUERY_CONFIG_MEM_REGION_COUNT
  drm/xe/uapi: Remove unused QUERY_CONFIG_GT_COUNT
  drm/xe/uapi: Replace BO with GEM in documentation
  fixup! drm/xe: Make DRM_XE_DEVICE_QUERY_ENGINES future proof
  drm/xe/uapi: Add link to Xe documentation
  drm/xe/uapi: Align on a common way to return arrays (memory regions)
  drm/xe/uapi: Align on a common way to return arrays (gt)
  drm/xe/uapi: Align on a common way to return arrays (engines)
  drm/xe/uapi: Add block diagram of a device
  drm/xe/uapi: Add examples of user space code

José Roberto de Souza (2):
  drm/xe: Add uAPI to query micro-controler firmware version
  drm/xe: Make DRM_XE_DEVICE_QUERY_ENGINES future proof

Mauro Carvalho Chehab (1):
  xe/xe_bo: Reject bo creation of unaligned size

Mika Kuoppala (1):
  drm/xe: Extend drm_xe_vm_bind_op

Rodrigo Vivi (24):
  drm/xe/uapi: Remove GT_TYPE_REMOTE
  drm/xe/uapi: Kill VM_MADVISE IOCTL
  drm/xe/uapi: Separate bo_create placement from flags
  drm/xe/uapi: Rename *_mem_regions masks
  drm/xe/uapi: Rename query's mem_usage to mem_regions
  drm/xe/uapi: Fix indentation issues that sometimes causes build
    warning
  drm/xe/uapi: Order sections
  drm/xe/uapi: More uAPI documentation additions and cosmetic updates
  drm/xe/uapi: Split xe_sync types from flags
  drm/xe/uapi: Standardize the FLAG naming and assignment
  drm/xe/uapi: Differentiate WAIT_OP from WAIT_MASK
  drm/xe/uapi: Move xe_exec after xe_exec_queue
  fixup! drm/xe/uapi: Split xe_sync types from flags
  drm/xe/uapi: Move memory_region masks from GT to engine
  drm/xe/uapi: Document the memory_region bitmask
  drm/xe/uapi: Be more specific about the vm_bind prefetch region
  drm/xe/uapi: Convert tile_mask to a pt_placement_hint
  drm/xe/uapi: Rename couple exec_queue items
  drm/xe/uapi: Refactor engine information
  drm/xe/uapi: Crystal Reference Clock updates
  drm/xe/uapi: Add Tile ID information to the GT info query
  squash! drm/xe/uapi: Rename couple exec_queue items
  fixup! drm/xe: Make DRM_XE_DEVICE_QUERY_ENGINES future proof
  drm/xe/uapi: Remove bogus engine list from the wait_user_fence IOCTL

Umesh Nerlige Ramappa (1):
  fixup! drm/xe: Correlate engine and cpu timestamps with better
    accuracy

 drivers/gpu/drm/xe/Makefile              |    1 -
 drivers/gpu/drm/xe/tests/xe_dma_buf.c    |    8 +-
 drivers/gpu/drm/xe/xe_bo.c               |   51 +-
 drivers/gpu/drm/xe/xe_bo_types.h         |    3 +
 drivers/gpu/drm/xe/xe_devcoredump.c      |    8 +-
 drivers/gpu/drm/xe/xe_device.c           |    8 +-
 drivers/gpu/drm/xe/xe_exec.c             |    4 +-
 drivers/gpu/drm/xe/xe_exec_queue.c       |   86 +-
 drivers/gpu/drm/xe/xe_exec_queue.h       |    4 +-
 drivers/gpu/drm/xe/xe_exec_queue_types.h |    4 +-
 drivers/gpu/drm/xe/xe_gt.c               |    2 +-
 drivers/gpu/drm/xe/xe_gt_clock.c         |    4 +-
 drivers/gpu/drm/xe/xe_gt_types.h         |    4 +-
 drivers/gpu/drm/xe/xe_guc_submit.c       |   32 +-
 drivers/gpu/drm/xe/xe_irq.c              |   18 -
 drivers/gpu/drm/xe/xe_pmu.c              |   25 +-
 drivers/gpu/drm/xe/xe_pmu_types.h        |    8 -
 drivers/gpu/drm/xe/xe_query.c            |  221 ++--
 drivers/gpu/drm/xe/xe_ring_ops.c         |    8 +-
 drivers/gpu/drm/xe/xe_sched_job.c        |   10 +-
 drivers/gpu/drm/xe/xe_sync.c             |   27 +-
 drivers/gpu/drm/xe/xe_sync_types.h       |    1 +
 drivers/gpu/drm/xe/xe_trace.h            |    8 +-
 drivers/gpu/drm/xe/xe_vm.c               |  115 +-
 drivers/gpu/drm/xe/xe_vm_doc.h           |   14 +-
 drivers/gpu/drm/xe/xe_vm_madvise.c       |  299 -----
 drivers/gpu/drm/xe/xe_vm_madvise.h       |   15 -
 drivers/gpu/drm/xe/xe_wait_user_fence.c  |   74 +-
 include/uapi/drm/xe_drm.h                | 1334 ++++++++++++++--------
 29 files changed, 1246 insertions(+), 1150 deletions(-)
 delete mode 100644 drivers/gpu/drm/xe/xe_vm_madvise.c
 delete mode 100644 drivers/gpu/drm/xe/xe_vm_madvise.h

-- 
2.34.1



More information about the Intel-xe mailing list