[RFC PATCH 0/4] Enable SVM atomics in Xe / GPU SVM

Matthew Brost matthew.brost at intel.com
Thu Apr 17 00:55:03 UTC 2025


On Wed, Apr 16, 2025 at 12:59:08PM -0700, Matthew Brost wrote:
> On Wed, Apr 16, 2025 at 11:11:03AM -0700, Matthew Brost wrote:
> > Minimal set of patches to enable compute UMD SVM atomics.
> > 
> > Collaboration with Himal.
> > 
> > Sending as RFC to see if we should pursue merging this series ASAP, the
> > solution of timeslicing may not be the final solution but it is quite
> > simple as a stopgate / software enabling.
> > 
> > Matt
> > 
> 
> Something in series broke processes-evict-malloc-mix-bo, will need to
> fix that.
> 
> Matt
> 

Nevermind, this series [1] is actually causing problems.

Matt

[1] https://patchwork.freedesktop.org/series/147849/

> > Himal Prasad Ghimiray (1):
> >   drm/gpusvm: Introduce vram_only flag for VRAM allocation
> > 
> > Matthew Brost (3):
> >   drm/xe: Strict migration policy for atomic SVM faults
> >   drm/xe: Timeslice GPU on atomic SVM fault
> >   drm/xe: Add atomic_svm_timeslice_ms debugfs entry
> > 
> >  drivers/gpu/drm/drm_gpusvm.c         | 14 +++++++
> >  drivers/gpu/drm/xe/xe_debugfs.c      | 38 ++++++++++++++++++
> >  drivers/gpu/drm/xe/xe_device.c       |  1 +
> >  drivers/gpu/drm/xe/xe_device_types.h |  3 ++
> >  drivers/gpu/drm/xe/xe_svm.c          | 58 +++++++++++++++++++++-------
> >  drivers/gpu/drm/xe/xe_svm.h          |  5 ---
> >  include/drm/drm_gpusvm.h             |  7 ++++
> >  7 files changed, 108 insertions(+), 18 deletions(-)
> > 
> > -- 
> > 2.34.1
> > 


More information about the Intel-xe mailing list