OSDN Git Service

drm/amdgpu: Rename kfd_bo_va_list to kfd_mem_attachment
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 8 Apr 2021 23:56:12 +0000 (19:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:43:46 +0000 (22:43 -0400)
commitc780b2eedbd0ddc9f594379fd39281100693fd3d
treee6ba866d174451364e2a2a1d0177c9f8ce081710
parent0a6fb502866578f1beaeb2d7c8f1f0a54623d2f7
drm/amdgpu: Rename kfd_bo_va_list to kfd_mem_attachment

This name is more fitting, especially for the changes coming next to
support multi-GPU systems with proper DMA mappings. Cleaned up the code
and renamed some related functions and variables to improve readability.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c