summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2019-12-16 10:02:50 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-12-19 18:10:05 +0300
commitbb71c74db3c554a10d8df81c2dcc162b0bbb4149 (patch)
treee757a841d6107ac9cc438060d0c9699dca9d9416 /drivers/gpu/drm/amd/amdkfd/kfd_topology.h
parentfe8a87d71f727b92525b7fbf9d24a7027d44df61 (diff)
downloadlinux-bb71c74db3c554a10d8df81c2dcc162b0bbb4149.tar.xz
drm/amdkfd: expose num_sdma_queues_per_engine data field to topology node (v2)
Thunk driver would like to know the num_sdma_queues_per_engine data, however this data relied on different asic specific. So it's better to get it from kfd driver. v2: don't update the 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 15843e0fc756..e1c9719f994e 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.h
@@ -81,6 +81,7 @@ struct kfd_node_properties {
int32_t drm_render_minor;
uint32_t num_sdma_engines;
uint32_t num_sdma_xgmi_engines;
+ uint32_t num_sdma_queues_per_engine;
char name[KFD_TOPOLOGY_PUBLIC_NAME_SIZE];
};