diff options
| author | 2018-12-13 11:57:35 -0500 | |
|---|---|---|
| committer | 2019-01-14 15:04:28 -0500 | |
| commit | 2d3d25b616a09c16c2506f23289532a31638620f (patch) | |
| tree | 7cbe6060daca7886efe481f20df24a94ca4f50c1 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c | |
| parent | drm/amdgpu: disable system memory page tables for now (diff) | |
| download | linux-dev-2d3d25b616a09c16c2506f23289532a31638620f.tar.xz linux-dev-2d3d25b616a09c16c2506f23289532a31638620f.zip | |
drm/amdgpu: Relocate kgd2kfd function declaration
Since amdkfd is merged into amdgpu module and amdgpu can access amdkfd
directly, move declaration of kgd2kfd functions from kfd_priv.h to
amdgpu_amdkfd.h
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c index 574c1181ae9a..3c7055ecd990 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c @@ -31,6 +31,7 @@ static const struct dma_fence_ops amdkfd_fence_ops; static atomic_t fence_seq = ATOMIC_INIT(0); +extern const struct kgd2kfd_calls *kgd2kfd; /* Eviction Fence * Fence helper functions to deal with KFD memory eviction. |
