diff options
author | 2023-09-15 17:02:23 -0500 | |
---|---|---|
committer | 2023-09-20 16:24:22 -0400 | |
commit | df954b695cc57575c23d674a6dc96c969b35da48 (patch) | |
tree | fcae6daf2a84b3e107a10a45f7ce92956760721a /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | drm/amd/pm: Remove SMUv13.0.6 unsupported feature (diff) | |
download | linux-rng-df954b695cc57575c23d674a6dc96c969b35da48.tar.xz linux-rng-df954b695cc57575c23d674a6dc96c969b35da48.zip |
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_kms.c')
0 files changed, 0 insertions, 0 deletions