summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2021-04-10 03:48:56 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-05-19 22:43:59 -0400
commitb72ed8a2de8e9dfbd61217d60a7da868ac2cfbff (patch)
treee0cb6cad910e13fbffc703a1c680ae700ba6ce06 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parent264fb4d332f5e76743818480e482464437837c52 (diff)
drm/amdgpu: DMA map/unmap when updating GPU mappings
DMA map kfd_mem_attachments in update_gpuvm_pte. This function is called with the BO and page tables reserved, so we can safely update the DMA mapping. DMA unmap when a BO is unmapped from a GPU and before updating mappings in restore workers. 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