]> www.infradead.org Git - users/willy/linux.git/commit
drm/xe: Use ttm_bo_access in xe_vm_snapshot_capture_delayed
authorMatthew Brost <matthew.brost@intel.com>
Tue, 26 Nov 2024 17:46:13 +0000 (09:46 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 28 Nov 2024 00:38:54 +0000 (16:38 -0800)
commit5f7bec831f1f17c354e4307a12cf79b018296975
treeeacf9599dd06ee971a8c58027ead1f6d69a1cbca
parentb6308aaa24a7ad3dfc6157b6afc550b9ab7e8945
drm/xe: Use ttm_bo_access in xe_vm_snapshot_capture_delayed

Non-contiguous mapping of BO in VRAM doesn't work, use ttm_bo_access
instead.

v2:
 - Fix error handling

Fixes: 0eb2a18a8fad ("drm/xe: Implement VM snapshot support for BO's and userptr")
Suggested-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241126174615.2665852-7-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_vm.c