summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2017-12-08 23:08:49 -0500
committerOded Gabbay <oded.gabbay@gmail.com>2017-12-08 23:08:49 -0500
commit174de876d6d02f7159363495a3f34461ba91d3ee (patch)
tree4336dfd0390744be6d1f232e75a0018a7703b323 /drivers/gpu/drm/amd/amdkfd/kfd_topology.h
parent5108d768408abc80e4e8d99f5b406a73cb04056b (diff)
downloadlinux-stable-174de876d6d02f7159363495a3f34461ba91d3ee.tar.gz
linux-stable-174de876d6d02f7159363495a3f34461ba91d3ee.tar.bz2
linux-stable-174de876d6d02f7159363495a3f34461ba91d3ee.zip
drm/amdkfd: Group up CRAT related functions
Take CRAT related functions out of kfd_topology.c and place them in kfd_crat.c. This is the initial step of supporting more CRAT features, i.e. creating virtual CRAT table for KFD devices without CRAT. v2: Minor cleanup that was missed previously because code moved around Signed-off-by: Amber Lin <Amber.Lin@amd.com> Signed-off-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_topology.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_topology.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.h b/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
index c3ddb9b95ff8..999645809028 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
@@ -164,6 +164,7 @@ struct kfd_system_properties {
struct attribute attr_props;
};
-
+struct kfd_topology_device *kfd_create_topology_device(void);
+void kfd_release_live_view(void);
#endif /* __KFD_TOPOLOGY_H__ */