diff options
author | Graham Sider <Graham.Sider@amd.com> | 2021-10-12 18:16:15 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-17 22:57:59 +0100 |
commit | c6c57446383a3dea098fc324f0c7f696c451cf3d (patch) | |
tree | d1052e0a368d1a5295fec69a106edd0a40e496d0 /drivers/gpu/drm/amd/include | |
parent | Linux 5.16-rc1 (diff) | |
download | linux-c6c57446383a3dea098fc324f0c7f696c451cf3d.tar.xz linux-c6c57446383a3dea098fc324f0c7f696c451cf3d.zip |
drm/amdkfd: add amdgpu_device entry to kfd_dev
Patch series to remove kgd_dev struct and replace all instances with
amdgpu_device objects.
amdgpu_device needs to be declared in kgd_kfd_interface.h to be visible
to kfd2kgd_calls.
Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
-rw-r--r-- | drivers/gpu/drm/amd/include/kgd_kfd_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/kgd_kfd_interface.h b/drivers/gpu/drm/amd/include/kgd_kfd_interface.h index c84bd7b2cf59..ba444cbf9206 100644 --- a/drivers/gpu/drm/amd/include/kgd_kfd_interface.h +++ b/drivers/gpu/drm/amd/include/kgd_kfd_interface.h @@ -33,6 +33,7 @@ #include <linux/dma-fence.h> struct pci_dev; +struct amdgpu_device; #define KGD_MAX_QUEUES 128 |