drm/amdgpu: DROP redundant drm_prime_sg_to_dma_addr_array
authorShane Xiao <shane.xiao@amd.com>
Wed, 5 Apr 2023 15:09:14 +0000 (23:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Apr 2023 22:03:44 +0000 (18:03 -0400)
commitedd48e6d8f341dcaf1c0a45f4822172d33e75129
treeb3431391c62b8f290b42d85e64258c0d67854e75
parente86bd8b21d57670e38c23ed435a053e7e4cc9e21
drm/amdgpu: DROP redundant drm_prime_sg_to_dma_addr_array

For DMA-MAP userptr on other GPUs, the dma address array
will be populated in amdgpu_ttm_backend_bind.

Remove the redundant call from the driver.

v2:
  update the comment

Signed-off-by: Shane Xiao <shane.xiao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c