diff options
| author | Matthew Brost <[email protected]> | 2025-04-23 17:17:23 +0000 |
|---|---|---|
| committer | Matthew Brost <[email protected]> | 2025-04-24 22:51:39 +0000 |
| commit | 270172f64b114451876c1b68912653e72ab99f38 (patch) | |
| tree | 43dd5677b34dac1933d529a8357b2ec7d7034894 /rust/helpers/helpers.c | |
| parent | drm/xe: Add devcoredump chunking (diff) | |
| download | kernel-270172f64b114451876c1b68912653e72ab99f38.tar.gz kernel-270172f64b114451876c1b68912653e72ab99f38.zip | |
drm/xe: Update xe_ttm_access_memory to use GPU for non-visible access
Add migrate layer functions to access VRAM and update
xe_ttm_access_memory to use for non-visible access and large (more than
16k) BO access. 8G devcoreump on BMG observed 3 minute CPU copy time vs.
3s GPU copy time.
v4:
- Fix non-page aligned accesses
- Add support for small / unaligned access
- Update commit message indicating migrate used for large accesses (Auld)
- Fix warning in xe_res_cursor for non-zero offset
v5:
- Fix 32 bit build (CI)
v6:
- Rebase and use SVM migration copy functions
v7:
- Fix build error (CI)
v8:
- Remove ifdef around VRAM copy functions (CI)
- Use break statement in dma unmmaping (Jonathan)
- Use if/else rather than goto (Jonathan)
- Use single return point (Jonathan)
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Jonathan Cavitt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
