Skip to content

xe2: Add PAT programming

Lucas De Marchi intel-xe 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 4 repliesIn review
  2. v17 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/xe/vm: Prefer xe_assert() over XE_WARN_ON()drivers/gpu/drm/xe/xe_vm.c+2 -10 replies
2/7drm/xe/xe2: Follow XeHPC for TLB invalidationdrivers/gpu/drm/xe/xe_ggtt.c+1 -10 replies
3/7fixup! drm/xe/pat: Prefer the arch/IP namesdrivers/gpu/drm/xe/xe_pat.c+1 -10 replies
4/7drm/xe/xe2: Program PAT tablesdrivers/gpu/drm/xe/xe_pat.c+91 -11 reply
5/7drm/xe/xe2: Add one more bit to encode PAT to ppgtt entriesdrivers/gpu/drm/xe/xe_bo.h drivers/gpu/drm/xe/xe_vm.c+4 -00 replies
6/7drm/xe/pat: Add debugfs node to dump PATdrivers/gpu/drm/xe/xe_gt_debugfs.c drivers/gpu/drm/xe/xe_pat.c drivers/gpu/drm/xe/xe_pat.h+223 -13 replies
6/7drm/xe/pat: Add debugfs node to dump PATdrivers/gpu/drm/xe/xe_gt_debugfs.c drivers/gpu/drm/xe/xe_pat.c drivers/gpu/drm/xe/xe_pat.h+223 -10 replies
7/7drm/xe/gt: Dump PAT table when failing to initializedrivers/gpu/drm/xe/xe_gt.c+12 -00 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMatt RoperPallavi MishraBalasubramani Vivekanandan
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b R-b
6/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [Intel-xe] [PATCH v2 0/7] xe2: Add PAT programming

Add the PAT table and allow PTEs to be encoded with the additional bit.

This also adds a new debug capability: allow to dump the PAT table via debugfs and to dump it automatically when the driver fails to bind to the device. A wrong PAT table may be related with GuC failing to initialize or other failures that go away with additional debug messages. At least dumping the table allows one to quickly check if the values programmed are the expected ones.

v2: Fix PAT dump for xehp/xehpc/xelpg

Lucas De Marchi (6):
drm/xe/vm: Prefer xe_assert() over XE_WARN_ON() drm/xe/xe2: Follow XeHPC for TLB invalidation fixup! drm/xe/pat: Prefer the arch/IP names drm/xe/xe2: Add one more bit to encode PAT to ppgtt entries drm/xe/pat: Add debugfs node to dump PAT drm/xe/gt: Dump PAT table when failing to initialize

Matt Roper (1):
drm/xe/xe2: Program PAT tables

 drivers/gpu/drm/xe/xe_bo.h         |   1 +
 drivers/gpu/drm/xe/xe_ggtt.c       |   2 +-
 drivers/gpu/drm/xe/xe_gt.c         |  12 ++
 drivers/gpu/drm/xe/xe_gt_debugfs.c |  12 ++
 drivers/gpu/drm/xe/xe_pat.c        | 298 ++++++++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_pat.h        |   8 +
 drivers/gpu/drm/xe/xe_vm.c         |   6 +-
 7 files changed, 334 insertions(+), 5 deletions(-)
Signature · 1 line
2.40.1