summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorGraham Sider <Graham.Sider@amd.com>2021-10-12 18:16:15 +0200
committerAlex Deucher <alexander.deucher@amd.com>2021-11-17 22:57:59 +0100
commitc6c57446383a3dea098fc324f0c7f696c451cf3d (patch)
treed1052e0a368d1a5295fec69a106edd0a40e496d0 /drivers/gpu/drm/amd/include
parentLinux 5.16-rc1 (diff)
downloadlinux-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.h1
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