Skip to content

Fix non-contiguous VRAM BO access in Xe

Matthew Brost dri-devel intel-xe 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest8 patches 8 repliesIn review
  2. v68 patches 39 repliesSuperseded
  3. v59 patches 11 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v49 patches0 repliesSuperseded
v36 patches8 repliesSuperseded
v23 patches0 repliesSuperseded
v13 patches0 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/xe: Add xe_bo_vm_accessdrivers/gpu/drm/xe/xe_bo.c+16 -10 replies
2/8drm/ttm: Add ttm_bo_accessdrivers/gpu/drm/ttm/ttm_bo_vm.c include/drm/ttm/ttm_bo.h+34 -84 replies
3/8drm/xe: Add xe_ttm_access_memorydrivers/gpu/drm/xe/xe_bo.c+56 -30 replies
4/8drm/xe: Take PM ref in delayed snapshot capture workerdrivers/gpu/drm/xe/xe_devcoredump.c+6 -00 replies
5/8drm/xe/display: Update intel_bo_read_from_page to use ttm_bo_accessdrivers/gpu/drm/xe/display/intel_bo.c+1 -243 replies
6/8drm/xe: Use ttm_bo_access in xe_vm_snapshot_capture_delayeddrivers/gpu/drm/xe/xe_vm.c+6 -111 reply
7/8drm/xe: Set XE_BO_FLAG_PINNED in migrate selftest BOsdrivers/gpu/drm/xe/tests/xe_migrate.c+9 -40 replies
8/8drm/xe: Only allow contiguous BOs to use xe_bo_vmapdrivers/gpu/drm/xe/xe_bo.c+14 -90 replies

Reviews trailers per patch

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

PatchMika KuoppalaMatthew AuldChristian KönigMaxime Ripard
1/8R-b
2/8T-b R-b R-b A-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-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 4 reviewers.

Read the v7 thread

Cover letter [PATCH v7 0/8] Fix non-contiguous VRAM BO access in Xe

Fully reviewed and resending for final CI.

Dropping non-visible patch for now as it a bit larger, not strickly required to unblock EU debug, and be sent independently in a follow up.

Matt

Matthew Brost (8):
drm/xe: Add xe_bo_vm_access
drm/ttm: Add ttm_bo_access
drm/xe: Add xe_ttm_access_memory
drm/xe: Take PM ref in delayed snapshot capture worker drm/xe/display: Update intel_bo_read_from_page to use ttm_bo_access drm/xe: Use ttm_bo_access in xe_vm_snapshot_capture_delayed drm/xe: Set XE_BO_FLAG_PINNED in migrate selftest BOs drm/xe: Only allow contiguous BOs to use xe_bo_vmap

 drivers/gpu/drm/ttm/ttm_bo_vm.c       | 40 ++++++++---
 drivers/gpu/drm/xe/display/intel_bo.c | 25 +------
 drivers/gpu/drm/xe/tests/xe_migrate.c | 13 ++--
 drivers/gpu/drm/xe/xe_bo.c            | 99 +++++++++++++++++++++++----
 drivers/gpu/drm/xe/xe_devcoredump.c   |  6 ++
 drivers/gpu/drm/xe/xe_vm.c            | 17 ++---
 include/drm/ttm/ttm_bo.h              |  2 +
 7 files changed, 142 insertions(+), 60 deletions(-)
Signature · 1 line
2.34.1