diff options
author | Amber Lin <Amber.Lin@amd.com> | 2018-12-14 09:35:17 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-01-14 15:04:29 -0500 |
commit | 308176d6f625bc782a34ec316beaefcfa7ad75f3 (patch) | |
tree | c2138c46bbec856efa3c3a3f5f3c49ed59a7b556 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | |
parent | 8e07e2676a42e7d3e5fe8eebac6262ec975664a1 (diff) | |
download | blackbird-op-linux-308176d6f625bc782a34ec316beaefcfa7ad75f3.tar.gz blackbird-op-linux-308176d6f625bc782a34ec316beaefcfa7ad75f3.zip |
drm/amdgpu: Remove kgd2kfd function pointers
kgd2kfd function pointers and global kgd2kfd pointer are no longer in use.
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.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h index 3214d319071b..0b31a1859023 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h @@ -214,8 +214,7 @@ void amdgpu_amdkfd_gpuvm_init_mem_limits(void); void amdgpu_amdkfd_unreserve_memory_limit(struct amdgpu_bo *bo); /* KGD2KFD callbacks */ -int kgd2kfd_init(unsigned interface_version, - const struct kgd2kfd_calls **g2f); +int kgd2kfd_init(void); void kgd2kfd_exit(void); struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd, struct pci_dev *pdev, const struct kfd2kgd_calls *f2g); |