[PULL] drm-xe-fixes

Thomas Hellstrom
2025-12-30T08:56:21Z

Hi Dave, Simona

The drm-xe-fixes PR towards -rc4. Two fixes for SVM and one adding
compiler barriers.

drm-xe-fixes-2025-12-30:
Core Changes:
- Ensure a SVM device memory allocation is idle before migration complete (Thomas)

Driver Changes:
- Fix a SVM debug printout (Thomas)
- Use READ_ONCE() / WRITE_ONCE() for g2h_fence (Jonathan)

The following changes since commit 80f9c601d9c4d26f00356c0a9c461650e7089273:

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

are available in the Git repository at:

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

for you to fetch changes up to bed2a6bd20681aacfb063015c1edfab6f58a333e:

drm/xe/guc: READ/WRITE_ONCE g2h_fence->done (2025-12-29 10:49:23 +0100)

----------------------------------------------------------------
Core Changes:
- Ensure a SVM device memory allocation is idle before migration complete (Thomas)

Driver Changes:
- Fix a SVM debug printout (Thomas)
- Use READ_ONCE() / WRITE_ONCE() for g2h_fence (Jonathan)

----------------------------------------------------------------
Jonathan Cavitt (1):
drm/xe/guc: READ/WRITE_ONCE g2h_fence->done

Thomas Hellström (2):
drm/xe/svm: Fix a debug printout
drm/pagemap, drm/xe: Ensure that the devmem allocation is idle before use

drivers/gpu/drm/drm_pagemap.c | 17 ++++++++++----
drivers/gpu/drm/xe/xe_guc_ct.c | 14 +++++++----
drivers/gpu/drm/xe/xe_migrate.c | 25 ++++++++++++++++----
drivers/gpu/drm/xe/xe_migrate.h | 6 +++--
drivers/gpu/drm/xe/xe_svm.c | 51 ++++++++++++++++++++++++++++++-----------
include/drm/drm_pagemap.h | 17 +++++++++++---
6 files changed, 99 insertions(+), 31 deletions(-)