drm/xe: add debugfs control for per-context ATS enable
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/xe/debugfs: add Context ATS enable knobdrivers/ drivers/ | +47 | 0 replies | |
| 2/2 | drm/xe/lrc: gate per-context ATS enable behind debugfs knobdrivers/ drivers/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] drm/xe: add debugfs control for per-context ATS enable
This series adds a debugfs-controlled knob to force the per-context ATS enable bit into Xe LRC state for hardware validation.
The first patch introduces an enable_ctx_ats device flag and exposes it via debugfs, defaulting to disabled. This is intended strictly as a debug/validation control for SV/FV testing of per-context ATS behavior.
The second patch adds the relevant CTX_SYS_PASID LRC layout definition and ATS-enable bit, then programs that bit during LRC initialization when the debugfs knob is enabled. The change is intentionally limited to the ATS-enable control bit and does not modify PASID or SVA binding state.
With the knob left at its default value, there is no functional change.
Nareshkumar Gollakoti (2):
drm/xe/debugfs: add Context ATS enable knob drm/xe/lrc: gate per-context ATS enable behind debugfs knob
drivers/gpu/drm/xe/regs/xe_lrc_layout.h | 4 +++ drivers/gpu/drm/xe/xe_debugfs.c | 41 +++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_device_types.h | 6 ++++ drivers/gpu/drm/xe/xe_lrc.c | 9 ++++++ 4 files changed, 60 insertions(+)
Signature · 1 line
2.43.0