[PULL] drm-xe-next

Thomas Hellstrom
2025-11-05T16:53:55Z

Hi Dave, Simona

This week's drm-xe-next PR,

Thanks,
Thomas

drm-xe-next-2025-11-05:
UAPI Changes:

Limit number of jobs per exec queue (Shuicheng)
Add sriov_admin sysfs tree (Michal)

Driver Changes:

Fix an uninitialized value (Thomas)
Expose a residency counter through debugfs (Mohammed Thasleem)
Workaround enabling and improvement (Tapani, Tangudu)
More Crescent Island-specific support (Sk Anirban, Lucas)
PAT entry dump imprement (Xin)
Inline gt_reset in the worker (Lucas)
Synchronize GT reset with device unbind (Balasubramani)
Do clean shutdown also when using flr (Jouni)
Fix serialization on burst of unbinds (Matt Brost)
Pagefault Refactor (Matt Brost)
Remove some unused code (Gwan-gyeong)

The following changes since commit 4504e780689245f01bee6ee4c19c74051bd87593:

drm/xe/pf: Access VF's register using dedicated MMIO view (2025-10-27 17:22:18 +0100)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-next-2025-11-05

for you to fetch changes up to 424e2cce078255c1ccaf7d30ec1508ea5d1b89b1:

drm/xe: Remove never used code in xe_vm_create() (2025-11-05 16:45:26 +0100)

----------------------------------------------------------------
UAPI Changes:

Limit number of jobs per exec queue (Shuicheng)
Add sriov_admin sysfs tree (Michal)

Driver Changes:

Fix an uninitialized value (Thomas)
Expose a residency counter through debugfs (Mohammed Thasleem)
Workaround enabling and improvement (Tapani, Tangudu)
More Crescent Island-specific support (Sk Anirban, Lucas)
PAT entry dump imprement (Xin)
Inline gt_reset in the worker (Lucas)
Synchronize GT reset with device unbind (Balasubramani)
Do clean shutdown also when using flr (Jouni)
Fix serialization on burst of unbinds (Matt Brost)
Pagefault Refactor (Matt Brost)
Remove some unused code (Gwan-gyeong)

----------------------------------------------------------------
Balasubramani Vivekanandan (2):
drm/xe/gt: Synchronize GT reset with device unbind
drm/xe/guc: Synchronize Dead CT worker with unbind

Gwan-gyeong Mun (1):
drm/xe: Remove never used code in xe_vm_create()

Jouni Högander (1):
drm/xe: Do clean shutdown also when using flr

Lucas De Marchi (7):
drm/xe/gt_throttle: Tidy up perf reasons reading
drm/xe/gt_throttle: Always read and mask
drm/xe/gt_throttle: Add throttle_to_gt()
drm/xe/gt_throttle: Tidy up attribute definition
drm/xe: Improve freq and throttle documentation
drm/xe/gt_throttle: Drop individual show functions
drm/xe: Inline gt_reset in the worker

Matthew Brost (13):
drm/xe: Enforce correct user fence signaling order using
drm/xe: Attach last fence to TLB invalidation job queues
drm/xe: Decouple bind queue last fence from TLB invalidations
drm/xe: Skip TLB invalidation waits in page fault binds
drm/xe: Disallow input fences on zero batch execs and zero binds
drm/xe: Remove last fence dependency check from binds and execs
drm/xe: Stub out new pagefault layer
drm/xe: Implement xe_pagefault_init
drm/xe: Implement xe_pagefault_reset
drm/xe: Implement xe_pagefault_handler
drm/xe: Implement xe_pagefault_queue_work
drm/xe: Add xe_guc_pagefault layer
drm/xe: Remove unused GT page fault code

Michal Wajdeczko (17):
drm/xe/pf: Prepare sysfs for SR-IOV admin attributes
drm/xe/pf: Take RPM during calls to SR-IOV attr.store()
drm/xe/pf: Add _locked variants of the VF EQ config functions
drm/xe/pf: Add _locked variants of the VF PT config functions
drm/xe/pf: Allow change PF and VFs EQ/PT using sysfs
drm/xe/pf: Relax report helper to accept PF in bulk configs
drm/xe/pf: Fix signature of internal config helpers
drm/xe/pf: Add functions to bulk configure EQ/PT on GT
drm/xe/pf: Add functions to bulk provision EQ/PT
drm/xe/pf: Allow bulk change all VFs EQ/PT using sysfs
drm/xe/pf: Add functions to provision scheduling priority
drm/xe/pf: Allow bulk change all VFs priority using sysfs
drm/xe/pf: Allow change PF scheduling priority using sysfs
drm/xe/pf: Promote xe_pci_sriov_get_vf_pdev
drm/xe/pf: Add sysfs device symlinks to enabled VFs
drm/xe/pf: Allow to stop the VF using sysfs
drm/xe/pf: Add documentation for sriov_admin attributes

Mohammed Thasleem (1):
drm/xe/xe_debugfs: Expose G7 package state residency counter through debugfs

Shuicheng Lin (1):
drm/xe: Limit number of jobs per exec queue

Sk Anirban (1):
drm/xe/cri: Add new performance limit reasons bits

Tangudu Tilak Tirumalesh (1):
drm/xe/xe3: Extend wa_14023061436

Tapani Pälli (1):
drm/xe/xe3: Apply wa_14024997852

Thomas Hellström (1):
drm/xe: Fix uninitialized return value from xe_validation_guard()

Xin Wang (1):
drm/xe: highlight reserved PAT entries in dump output

.../ABI/testing/sysfs-driver-intel-xe-sriov | 159 +++++
Documentation/gpu/xe/xe_gt_freq.rst | 3 +
drivers/gpu/drm/xe/Makefile | 4 +-
drivers/gpu/drm/xe/regs/xe_gt_regs.h | 13 +
drivers/gpu/drm/xe/regs/xe_pmt.h | 1 +
drivers/gpu/drm/xe/xe_debugfs.c | 1 +
drivers/gpu/drm/xe/xe_device.c | 23 +-
drivers/gpu/drm/xe/xe_device_types.h | 11 +
drivers/gpu/drm/xe/xe_exec.c | 14 +-
drivers/gpu/drm/xe/xe_exec_queue.c | 124 +++-
drivers/gpu/drm/xe/xe_exec_queue.h | 23 +-
drivers/gpu/drm/xe/xe_exec_queue_types.h | 17 +
drivers/gpu/drm/xe/xe_gt.c | 44 +-
drivers/gpu/drm/xe/xe_gt_freq.c | 30 +-
drivers/gpu/drm/xe/xe_gt_pagefault.c | 679 ---------------------
drivers/gpu/drm/xe/xe_gt_pagefault.h | 19 -
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 208 +++++--
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 10 +
drivers/gpu/drm/xe/xe_gt_throttle.c | 331 +++++-----
drivers/gpu/drm/xe/xe_gt_types.h | 65 --
drivers/gpu/drm/xe/xe_guc_ct.c | 9 +-
drivers/gpu/drm/xe/xe_guc_pagefault.c | 95 +++
drivers/gpu/drm/xe/xe_guc_pagefault.h | 15 +
drivers/gpu/drm/xe/xe_migrate.c | 14 +
drivers/gpu/drm/xe/xe_migrate.h | 8 +
drivers/gpu/drm/xe/xe_oa.c | 45 +-
drivers/gpu/drm/xe/xe_oa_types.h | 8 +
drivers/gpu/drm/xe/xe_pagefault.c | 445 ++++++++++++++
drivers/gpu/drm/xe/xe_pagefault.h | 19 +
drivers/gpu/drm/xe/xe_pagefault_types.h | 136 +++++
drivers/gpu/drm/xe/xe_pat.c | 15 +-
drivers/gpu/drm/xe/xe_pat.h | 5 +
drivers/gpu/drm/xe/xe_pci_sriov.c | 41 +-
drivers/gpu/drm/xe/xe_pci_sriov.h | 1 +
drivers/gpu/drm/xe/xe_pt.c | 80 +--
drivers/gpu/drm/xe/xe_reg_whitelist.c | 7 +
drivers/gpu/drm/xe/xe_sched_job.c | 19 +-
drivers/gpu/drm/xe/xe_sched_job.h | 1 -
drivers/gpu/drm/xe/xe_sriov_pf.c | 5 +
drivers/gpu/drm/xe/xe_sriov_pf_provision.c | 284 +++++++++
drivers/gpu/drm/xe/xe_sriov_pf_provision.h | 14 +
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c | 647 ++++++++++++++++++++
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.h | 16 +
drivers/gpu/drm/xe/xe_sriov_pf_types.h | 11 +
drivers/gpu/drm/xe/xe_svm.c | 3 +-
drivers/gpu/drm/xe/xe_sync.c | 95 +--
drivers/gpu/drm/xe/xe_sync.h | 3 +
drivers/gpu/drm/xe/xe_sync_types.h | 3 +
drivers/gpu/drm/xe/xe_tlb_inval_job.c | 31 +-
drivers/gpu/drm/xe/xe_tlb_inval_job.h | 5 +-
drivers/gpu/drm/xe/xe_trace.h | 23 +
drivers/gpu/drm/xe/xe_validation.h | 8 +-
drivers/gpu/drm/xe/xe_vm.c | 101 +--
drivers/gpu/drm/xe/xe_vm_types.h | 6 +-
drivers/gpu/drm/xe/xe_wa.c | 2 +
55 files changed, 2731 insertions(+), 1268 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-xe-sriov
delete mode 100644 drivers/gpu/drm/xe/xe_gt_pagefault.c
delete mode 100644 drivers/gpu/drm/xe/xe_gt_pagefault.h
create mode 100644 drivers/gpu/drm/xe/xe_guc_pagefault.c
create mode 100644 drivers/gpu/drm/xe/xe_guc_pagefault.h
create mode 100644 drivers/gpu/drm/xe/xe_pagefault.c
create mode 100644 drivers/gpu/drm/xe/xe_pagefault.h
create mode 100644 drivers/gpu/drm/xe/xe_pagefault_types.h
create mode 100644 drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
create mode 100644 drivers/gpu/drm/xe/xe_sriov_pf_sysfs.h