[PULL] drm-xe-fixes

Thomas Hellstrom
2025-12-18T23:22:16Z

Hi Dave, Simona

The drm-xe-fixes PR for 6.19-rc2. Nothing that stands out except some additional
UAPI sanitizing.

Thanks,
Thomas

drm-xe-fixes-2025-12-19:

UAPI Changes:
- Limit num_syncs to prevent oversized kernel allocations (Shuicheng)
- Disallow 0 OA property values (Ashutosh)
- Disallow 0 EU stall property values (Ashutosh)

Driver Changes:
- Fix kobject leak (Shuicheng)
- Workaround (Vinay)
- Loop variable reference fix (Matt Brost)
- Fix a CONFIG corner-case incorrect number of arguments (Arnd Bergmann)
- Skip reason prefix while emitting array (Raag)
- VF migration fix (Tomasz)
- Fix context in mei interrupt top half (Junxiao)
- Don't include the CCS metadata in the dma-buf sg-table (Thomas)
- VF queueing recovery work fix (Satyanarayana)
- Increase TDF timeout (Jagmeet)
- GT reset registers vs scheduler ordering fix (Jan)
- Adjust long-running workload timeslices (Matt Brost)
- Always set OA_OAGLBCTXCTRL_COUNTER_RESUME (Ashutosh)
- Fix a return value (Dan Carpenter)
- Drop preempt-fences when destroying imported dma-bufs (Thomas)
- Use usleep_range for accurate long-running workload timeslicing (Matthew)
The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:

Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2025-12-19

for you to fetch changes up to 80f9c601d9c4d26f00356c0a9c461650e7089273:

drm/xe: Use usleep_range for accurate long-running workload timeslicing (2025-12-18 18:25:42 +0100)

----------------------------------------------------------------
UAPI Changes:
- Limit num_syncs to prevent oversized kernel allocations (Shuicheng)
- Disallow 0 OA property values (Ashutosh)
- Disallow 0 EU stall property values (Ashutosh)

Driver Changes:
- Fix kobject leak (Shuicheng)
- Workaround (Vinay)
- Loop variable reference fix (Matt Brost)
- Fix a CONFIG corner-case incorrect number of arguments (Arnd Bergmann)
- Skip reason prefix while emitting array (Raag)
- VF migration fix (Tomasz)
- Fix context in mei interrupt top half (Junxiao)
- Don't include the CCS metadata in the dma-buf sg-table (Thomas)
- VF queueing recovery work fix (Satyanarayana)
- Increase TDF timeout (Jagmeet)
- GT reset registers vs scheduler ordering fix (Jan)
- Adjust long-running workload timeslices (Matt Brost)
- Always set OA_OAGLBCTXCTRL_COUNTER_RESUME (Ashutosh)
- Fix a return value (Dan Carpenter)
- Drop preempt-fences when destroying imported dma-bufs (Thomas)
- Use usleep_range for accurate long-running workload timeslicing (Matthew)

----------------------------------------------------------------
Arnd Bergmann (1):
drm/xe: fix drm_gpusvm_init() arguments

Ashutosh Dixit (3):
drm/xe/oa: Always set OAG_OAGLBCTXCTRL_COUNTER_RESUME
drm/xe/oa: Disallow 0 OA property values
drm/xe/eustall: Disallow 0 EU stall property values

Dan Carpenter (1):
drm/xe/xe_sriov_vfio: Fix return value in xe_sriov_vfio_migration_supported()

Jagmeet Randhawa (1):
drm/xe: Increase TDF timeout

Jan Maslak (1):
drm/xe: Restore engine registers before restarting schedulers after GT reset

Junxiao Chang (1):
drm/me/gsc: mei interrupt top half should be in irq disabled context

Matthew Brost (3):
drm/xe: Do not reference loop variable directly
drm/xe: Adjust long-running workload timeslices to reasonable values
drm/xe: Use usleep_range for accurate long-running workload timeslicing

Raag Jadav (1):
drm/xe/throttle: Skip reason prefix while emitting array

Satyanarayana K V P (1):
drm/xe/vf: Fix queuing of recovery work

Shuicheng Lin (3):
drm/xe: Fix freq kobject leak on sysfs_create_files failure
drm/xe: Limit num_syncs to prevent oversized allocations
drm/xe/oa: Limit num_syncs to prevent oversized allocations

Thomas Hellström (2):
drm/xe/bo: Don't include the CCS metadata in the dma-buf sg-table
drm/xe: Drop preempt-fences when destroying imported dma-bufs.

Tomasz Lis (1):
drm/xe/vf: Stop waiting for ring space on VF post migration recovery

Vinay Belgaumkar (1):
drm/xe: Apply Wa_14020316580 in xe_gt_idle_enable_pg()

drivers/gpu/drm/xe/xe_bo.c | 15 ++++-----------
drivers/gpu/drm/xe/xe_device.c | 2 +-
drivers/gpu/drm/xe/xe_dma_buf.c | 2 +-
drivers/gpu/drm/xe/xe_eu_stall.c | 2 +-
drivers/gpu/drm/xe/xe_exec.c | 3 ++-
drivers/gpu/drm/xe/xe_gt.c | 7 ++++---
drivers/gpu/drm/xe/xe_gt_freq.c | 4 +++-
drivers/gpu/drm/xe/xe_gt_idle.c | 8 ++++++++
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 2 +-
drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
drivers/gpu/drm/xe/xe_guc_submit.c | 35 ++++++++++++++++++++++++++++-------
drivers/gpu/drm/xe/xe_heci_gsc.c | 4 ++--
drivers/gpu/drm/xe/xe_oa.c | 12 ++++++++----
drivers/gpu/drm/xe/xe_sriov_vfio.c | 2 +-
drivers/gpu/drm/xe/xe_svm.h | 2 +-
drivers/gpu/drm/xe/xe_vm.c | 8 +++++++-
drivers/gpu/drm/xe/xe_vm_types.h | 2 +-
drivers/gpu/drm/xe/xe_wa.c | 8 --------
drivers/gpu/drm/xe/xe_wa_oob.rules | 1 +
include/uapi/drm/xe_drm.h | 1 +
20 files changed, 76 insertions(+), 46 deletions(-)