Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Fix non-contiguous VRAM BO access in Xe
@ 2024-10-19 19:20 Matthew Brost
  2024-10-19 19:20 ` [PATCH v3 1/6] drm/ttm: Add ttm_bo_access Matthew Brost
                   ` (13 more replies)
  0 siblings, 14 replies; 23+ messages in thread
From: Matthew Brost @ 2024-10-19 19:20 UTC (permalink / raw)
  To: intel-xe, dri-devel; +Cc: matthew.auld, thomas.hellstrom

Mapping a non-contiguous VRAM BO doesn't work, start to fix this.

v2:
 - Include missing local change
v3:
 - Use GPU for non-visible access
 - Take PM ref in xe_ttm_access_memory
 - Disable VMAP for non-contiguous BOs

Matthew Brost (6):
  drm/ttm: Add ttm_bo_access
  drm/xe: Add xe_ttm_access_memory
  drm/xe: Update xe_ttm_access_memory to use GPU for non-visible 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_util.c     |  86 +++++++++
 drivers/gpu/drm/ttm/ttm_bo_vm.c       |  65 +------
 drivers/gpu/drm/xe/tests/xe_migrate.c |  13 +-
 drivers/gpu/drm/xe/xe_bo.c            |  95 +++++++--
 drivers/gpu/drm/xe/xe_migrate.c       | 267 ++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_migrate.h       |   4 +
 drivers/gpu/drm/xe/xe_vm.c            |  17 +-
 include/drm/ttm/ttm_bo.h              |   2 +
 8 files changed, 458 insertions(+), 91 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-10-21 17:20 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-19 19:20 [PATCH v3 0/6] Fix non-contiguous VRAM BO access in Xe Matthew Brost
2024-10-19 19:20 ` [PATCH v3 1/6] drm/ttm: Add ttm_bo_access Matthew Brost
2024-10-19 19:20 ` [PATCH v3 2/6] drm/xe: Add xe_ttm_access_memory Matthew Brost
2024-10-19 19:20 ` [PATCH v3 3/6] drm/xe: Update xe_ttm_access_memory to use GPU for non-visible access Matthew Brost
2024-10-21 10:15   ` Matthew Auld
2024-10-21 11:01     ` Thomas Hellström
2024-10-21 17:18       ` Matthew Brost
2024-10-21 17:02     ` Matthew Brost
2024-10-19 19:20 ` [PATCH v3 4/6] drm/xe: Use ttm_bo_access in xe_vm_snapshot_capture_delayed Matthew Brost
2024-10-21  9:07   ` Matthew Auld
2024-10-21 16:58     ` Matthew Brost
2024-10-19 19:20 ` [PATCH v3 5/6] drm/xe: Set XE_BO_FLAG_PINNED in migrate selftest BOs Matthew Brost
2024-10-21  9:50   ` Matthew Auld
2024-10-19 19:20 ` [PATCH v3 6/6] drm/xe: Only allow contiguous BOs to use xe_bo_vmap Matthew Brost
2024-10-21  9:32   ` Matthew Auld
2024-10-19 19:25 ` ✓ CI.Patch_applied: success for Fix non-contiguous VRAM BO access in Xe (rev3) Patchwork
2024-10-19 19:25 ` ✗ CI.checkpatch: warning " Patchwork
2024-10-19 19:27 ` ✓ CI.KUnit: success " Patchwork
2024-10-19 19:38 ` ✓ CI.Build: " Patchwork
2024-10-19 19:40 ` ✓ CI.Hooks: " Patchwork
2024-10-19 19:42 ` ✗ CI.checksparse: warning " Patchwork
2024-10-19 20:07 ` ✓ CI.BAT: success " Patchwork
2024-10-19 21:06 ` ✗ CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox