Skip to content

RFC drm/xe: Enable ATS.

Maarten Lankhorst intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Force page faultdrivers/gpu/drm/xe/regs/xe_gtt_defs.h drivers/gpu/drm/xe/xe_migrate.c drivers/gpu/drm/xe/xe_pt.c+24 -160 replies
2/3drm/xe: Set the bits in PASID to enable ATS.drivers/gpu/drm/xe/regs/xe_lrc_layout.h drivers/gpu/drm/xe/xe_lrc.c+7 -00 replies
3/3drm/xe: Add migration selftest for validating job submission and basic features workdrivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_migrate.c drivers/gpu/drm/xe/xe_migrate.h+51 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] drm/xe: Enable ATS.

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(-)
Signature · 1 line
2.51.0