diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2021-04-10 03:43:58 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-19 22:43:56 -0400 |
commit | 264fb4d332f5e76743818480e482464437837c52 (patch) | |
tree | e5119011944a13cbf555dfe7001f2760732dab0d /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 7141394edc05f439751e4eb2e5aedb4889b48e33 (diff) |
drm/amdgpu: Add multi-GPU DMA mapping helpers
Add BO-type specific helpers functions to DMA-map and unmap
kfd_mem_attachments. Implement this functionality for userptrs by creating
one SG BO per GPU and filling it with a DMA mapping of the pages from the
original mem->bo.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Oak Zeng <Oak.Zeng@amd.com>
Acked-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions