Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] drm/xe: Enable ATS.
@ 2026-01-26 12:52 Maarten Lankhorst
  2026-01-26 12:52 ` [RFC PATCH 1/3] drm/xe: Force page fault Maarten Lankhorst
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Maarten Lankhorst @ 2026-01-26 12:52 UTC (permalink / raw)
  To: intel-xe; +Cc: Maarten Lankhorst

RFC since I believe while the patches work, it might need some help to
validate the semantics, and whether we want to set ATS unconditionally.

Add the relevant wiring to enable the ATS flag in PASID, and add a minimal
selftest to validate ATS works and doesn't break on the first access to
system memory.

Last patch is untested, hope to see what CI thinks. :-)

Maarten Lankhorst (3):
  drm/xe: Force page fault
  drm/xe: Set the bits in PASID to enable ATS.
  drm/xe: Add migration selftest for validating job submission and basic
    features work

 drivers/gpu/drm/xe/regs/xe_gtt_defs.h   |  1 +
 drivers/gpu/drm/xe/regs/xe_lrc_layout.h |  1 +
 drivers/gpu/drm/xe/xe_device.c          |  7 ++++
 drivers/gpu/drm/xe/xe_lrc.c             |  6 ++++
 drivers/gpu/drm/xe/xe_migrate.c         | 46 +++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_migrate.h         |  1 +
 drivers/gpu/drm/xe/xe_pt.c              | 36 ++++++++++---------
 7 files changed, 82 insertions(+), 16 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-01-27  8:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-26 12:52 [RFC PATCH 0/3] drm/xe: Enable ATS Maarten Lankhorst
2026-01-26 12:52 ` [RFC PATCH 1/3] drm/xe: Force page fault Maarten Lankhorst
2026-01-26 12:52 ` [RFC PATCH 2/3] drm/xe: Set the bits in PASID to enable ATS Maarten Lankhorst
2026-01-26 12:52 ` [RFC PATCH 3/3] drm/xe: Add migration selftest for validating job submission and basic features work Maarten Lankhorst
2026-01-26 19:19   ` Matthew Brost
2026-01-26 12:58 ` ✗ CI.checkpatch: warning for drm/xe: Enable ATS Patchwork
2026-01-26 13:00 ` ✓ CI.KUnit: success " Patchwork
2026-01-26 13:38 ` ✗ Xe.CI.BAT: failure " Patchwork
2026-01-26 14:32 ` ✗ Xe.CI.Full: " Patchwork
2026-01-26 23:23 ` [RFC PATCH 0/3] " Matthew Brost
2026-01-27  8:01 ` ✗ Xe.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox