mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
drm/xe/pat: Print PAT_ATS during register dump
For Xe2 and beyond we miss printing PAT_ATS register. Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patch.msgid.link/20260331134330.2535519-2-zbigniew.kempczynski@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
This commit is contained in:
parent
9e7585fb70
commit
81ca36e0be
|
|
@ -531,6 +531,14 @@ static int xe2_dump(struct xe_gt *gt, struct drm_printer *p)
|
|||
drm_printf(p, "Page Table Access:\n");
|
||||
xe->pat.ops->entry_dump(p, "PTA_MODE", pat, false);
|
||||
|
||||
if (xe_gt_is_media_type(gt))
|
||||
pat = xe_mmio_read32(>->mmio, XE_REG(_PAT_ATS));
|
||||
else
|
||||
pat = xe_gt_mcr_unicast_read_any(gt, XE_REG_MCR(_PAT_ATS));
|
||||
|
||||
drm_printf(p, "PCIe ATS/PASID:\n");
|
||||
xe->pat.ops->entry_dump(p, "PAT_ATS ", pat, false);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user