]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit438c0df7dcbc0591cc1f760908e5a4d1e711bfdd
tree7c91d669631f32ae3427bccff1fb0a06285ead99
parenta6f3eee7b4dcbd87211dd95344daeb06db98391e
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