summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorXiaogang Chen <xiaogang.chen@amd.com>2023-09-16 01:02:23 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-09-20 23:24:22 +0300
commitdf954b695cc57575c23d674a6dc96c969b35da48 (patch)
treefcae6daf2a84b3e107a10a45f7ce92956760721a /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent8ab7fab6b67dd84b6cceb74752a37b608191932c (diff)
downloadlinux-df954b695cc57575c23d674a6dc96c969b35da48.tar.xz
drm/amdkfd: Separate dma unmap and free of dma address array operations
We do not need free dma address array of svm_range each time we do dma unmap for pages in svm_range as we can reuse the same array. Only free it when free svm_range. Separate these two operations and use them accordingly. Signed-off-by: Xiaogang Chen <xiaogang.chen@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions