diff options
author | Xiaogang Chen <xiaogang.chen@amd.com> | 2023-09-16 01:02:23 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-20 23:24:22 +0300 |
commit | df954b695cc57575c23d674a6dc96c969b35da48 (patch) | |
tree | fcae6daf2a84b3e107a10a45f7ce92956760721a /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 8ab7fab6b67dd84b6cceb74752a37b608191932c (diff) | |
download | linux-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