[PULL] drm-xe-next

Thomas Hellstrom
2025-04-28T16:03:40Z

Hi Dave, Simona

An additional drm-xe-next PR as requested on IRC.
Take 2, This time with a normal-looking diffstat.

A lot of fixes but some new stuff as detailed below.

Please note that the top commit,

"Drop force_alloc from xe_bo_evict in selftests"

carries a Fixes tag that is not an ancestor, but that
commit is in drm-next so should not be a problem once
merged, I hope.

Thanks,
Thomas

drm-xe-next-2025-04-28-1:
Core Changes:
- Add drm_coredump_printer_is_full() (Matt Brost)

Driver Changes:
- Do not queue unneeded terminations from debugfs (Daniele)
- Fix out-of-bound while enabling engine activity stats (Michal)
- Use GT oriented message to report engine activity error (Michal)
- Some fault-injection additions (Satyanarayana)
- Fix an error pointer dereference (Harshit)
- Fix capture of steering registers (John)
- Use the steering flag when printing registers (John)
- Cache DSS info when creating capture register list (John)
- Backup VRAM in PM notifier instead of in the suspend / freeze
callbacks (Matt Auld)
- Fix CFI violation when accessing sysfs files (Jeevaka)
- Fix kernel version docs for temperature and fan speed (Lucas)
- Add devcoredump chunking (Matt Brost)
- Update xe_ttm_access_memory to use GPU for non-visible access
(Matt Brost)
- Abort printing coredump in VM printer output if full (Matt Brost)
- Resolve a possible circular locking dependency (Harish)
- Don't support EU stall on SRIOV VF (Harish)
- Drop force_alloc from xe_bo_evict in selftests (Matt Brost)
The following changes since commit d2b9e2f8a15d53121ae8f2c67b69cf06b6fa586c:

Merge tag 'drm-xe-next-2025-04-17' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next (2025-04-26 08:06:14 +1000)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-next-2025-04-28-1

for you to fetch changes up to 1bb53d05ba71b684f61bd11df8b99fe75ce52754:

Merge drm/drm-next into drm-xe-next (2025-04-28 17:42:49 +0200)

----------------------------------------------------------------
Core Changes:
- Add drm_coredump_printer_is_full() (Matt Brost)

Driver Changes:
- Do not queue unneeded terminations from debugfs (Daniele)
- Fix out-of-bound while enabling engine activity stats (Michal)
- Use GT oriented message to report engine activity error (Michal)
- Some fault-injection additions (Satyanarayana)
- Fix an error pointer dereference (Harshit)
- Fix capture of steering registers (John)
- Use the steering flag when printing registers (John)
- Cache DSS info when creating capture register list (John)
- Backup VRAM in PM notifier instead of in the suspend / freeze
callbacks (Matt Auld)
- Fix CFI violation when accessing sysfs files (Jeevaka)
- Fix kernel version docs for temperature and fan speed (Lucas)
- Add devcoredump chunking (Matt Brost)
- Update xe_ttm_access_memory to use GPU for non-visible access
(Matt Brost)
- Abort printing coredump in VM printer output if full (Matt Brost)
- Resolve a possible circular locking dependency (Harish)
- Don't support EU stall on SRIOV VF (Harish)
- Drop force_alloc from xe_bo_evict in selftests (Matt Brost)

----------------------------------------------------------------
Daniele Ceraolo Spurio (1):
drm/xe/pxp: do not queue unneeded terminations from debugfs

Harish Chegondi (2):
drm/xe/eustall: Resolve a possible circular locking dependency
drm/xe/eustall: Do not support EU stall on SRIOV VF

Harshit Mogalapalli (1):
drm/xe/svm: fix dereferencing error pointer in drm_gpusvm_range_alloc()

Jeevaka Prabu Badrappan (1):
drm/xe: Fix CFI violation when accessing sysfs files

John Harrison (3):
drm/xe/guc: Fix capture of steering registers
drm/xe/guc: Use the steering flag when printing registers
drm/xe/guc: Cache DSS info when creating capture register list

Lucas De Marchi (2):
drm/xe/hwmon: Fix kernel version documentation for temperature
drm/xe/hwmon: Fix kernel version documentation for fan speed

Matthew Auld (3):
drm/xe: evict user memory in PM notifier
drm/xe: share bo dma-resv with backup object
drm/xe: handle pinned memory in PM notifier

Matthew Brost (5):
drm/xe: Add devcoredump chunking
drm/xe: Update xe_ttm_access_memory to use GPU for non-visible access
drm/print: Add drm_coredump_printer_is_full
drm/xe: Abort printing coredump in VM printer output if full
drm/xe: Drop force_alloc from xe_bo_evict in selftests

Michal Wajdeczko (2):
drm/xe/guc: Fix out-of-bound while enabling engine activity stats
drm/xe: Use GT oriented message to report engine activity error

Satyanarayana K V P (2):
drm/xe: Introduce fault injection for guc mmio send/recv.
drm/xe: Introduce fault injection for guc CTB send/recv

Thomas Hellström (2):
Merge drm/drm-next into drm-xe-next
Merge drm/drm-next into drm-xe-next

.../ABI/testing/sysfs-driver-intel-xe-hwmon | 10 +-
drivers/gpu/drm/xe/tests/xe_bo.c | 2 +-
drivers/gpu/drm/xe/tests/xe_dma_buf.c | 2 +-
drivers/gpu/drm/xe/tests/xe_migrate.c | 2 +-
drivers/gpu/drm/xe/xe_bo.c | 152 +++++++++++---
drivers/gpu/drm/xe/xe_bo.h | 2 +
drivers/gpu/drm/xe/xe_bo_evict.c | 96 +++++++--
drivers/gpu/drm/xe/xe_bo_evict.h | 3 +
drivers/gpu/drm/xe/xe_bo_types.h | 2 +
drivers/gpu/drm/xe/xe_devcoredump.c | 57 ++++--
drivers/gpu/drm/xe/xe_devcoredump_types.h | 2 +
drivers/gpu/drm/xe/xe_device_types.h | 3 +
drivers/gpu/drm/xe/xe_eu_stall.c | 14 +-
drivers/gpu/drm/xe/xe_eu_stall.h | 3 +-
drivers/gpu/drm/xe/xe_gt_freq.c | 82 ++++----
drivers/gpu/drm/xe/xe_gt_idle.c | 28 +--
drivers/gpu/drm/xe/xe_gt_throttle.c | 90 ++++-----
drivers/gpu/drm/xe/xe_guc.c | 1 +
drivers/gpu/drm/xe/xe_guc_capture.c | 102 +++++-----
drivers/gpu/drm/xe/xe_guc_capture_types.h | 2 +
drivers/gpu/drm/xe/xe_guc_ct.c | 1 +
drivers/gpu/drm/xe/xe_guc_engine_activity.c | 7 +-
drivers/gpu/drm/xe/xe_migrate.c | 218 +++++++++++++++++++--
drivers/gpu/drm/xe/xe_migrate.h | 4 +
drivers/gpu/drm/xe/xe_pci.c | 2 +-
drivers/gpu/drm/xe/xe_pci_sriov.c | 5 +-
drivers/gpu/drm/xe/xe_pm.c | 68 ++++++-
drivers/gpu/drm/xe/xe_pm.h | 2 +-
drivers/gpu/drm/xe/xe_pxp_debugfs.c | 13 +-
drivers/gpu/drm/xe/xe_svm.c | 2 +-
drivers/gpu/drm/xe/xe_vm.c | 3 +
include/drm/drm_print.h | 20 ++
32 files changed, 756 insertions(+), 244 deletions(-)