aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2019-12-16 15:02:51 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-12-19 10:10:18 -0500
commitf4feb9fa45ee604f44fcc1fb4fb806a0c611acd0 (patch)
tree396b24906e9fb3de9c98383cdbb19c6c650cdb2c /drivers/gpu/drm/amd/amdkfd/kfd_topology.h
parentdrm/amdkfd: expose num_sdma_queues_per_engine data field to topology node (v2) (diff)
downloadlinux-dev-f4feb9fa45ee604f44fcc1fb4fb806a0c611acd0.tar.xz
linux-dev-f4feb9fa45ee604f44fcc1fb4fb806a0c611acd0.zip
drm/amdkfd: expose num_cp_queues data field to topology node (v2)
Thunk driver would like to know the num_cp_queues data, however this data relied on different asic specific. So it's better to get it from kfd driver. v2: don't update name size. Signed-off-by: Huang Rui <ray.huang@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/amdkfd/kfd_topology.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_topology.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.h b/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
index e1c9719f994e..74e9b1682af8 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
@@ -82,6 +82,7 @@ struct kfd_node_properties {
uint32_t num_sdma_engines;
uint32_t num_sdma_xgmi_engines;
uint32_t num_sdma_queues_per_engine;
+ uint32_t num_cp_queues;
char name[KFD_TOPOLOGY_PUBLIC_NAME_SIZE];
};