drm/amdgpu: Keep a bo-reference per-attachment
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 9 Apr 2021 02:27:34 +0000 (22:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:43:49 +0000 (22:43 -0400)
commit4e94272f8a99e0235353a024f37be1201acf4c8b
tree7c91d669631f32ae3427bccff1fb0a06285ead99
parentc780b2eedbd0ddc9f594379fd39281100693fd3d
drm/amdgpu: Keep a bo-reference per-attachment

For now they all reference the same BO. For correct DMA mappings they will
refer to different BOs per-GPU.

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_gpuvm.c