diff options
author | Shaoyun Liu | 2018-07-06 17:32:42 +0200 |
---|---|---|
committer | Alex Deucher | 2018-09-11 05:48:43 +0200 |
commit | 0c1690e38b5e688166d009145ba0a4806f774465 (patch) | |
tree | 189074293ceb72e200b058d61000fe650768e068 /drivers/gpu/drm/amd/amdkfd/kfd_topology.h | |
parent | drm/amdgpu: get_hive_id from amdgpu side (v2) (diff) | |
download | kernel-qcow2-linux-0c1690e38b5e688166d009145ba0a4806f774465.tar.gz kernel-qcow2-linux-0c1690e38b5e688166d009145ba0a4806f774465.tar.xz kernel-qcow2-linux-0c1690e38b5e688166d009145ba0a4806f774465.zip |
drm/amdkfd: kfd expose the hive_id of the device through its node properties
Thunk will generate the XGMI topology information when necessary with the hive_id
for each specified device
Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@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.h | 1 |
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 7d9c3f948dff..92a19be07344 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.h +++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.h @@ -49,6 +49,7 @@ #define HSA_CAP_AQL_QUEUE_DOUBLE_MAP 0x00004000 struct kfd_node_properties { + uint64_t hive_id; uint32_t cpu_cores_count; uint32_t simd_count; uint32_t mem_banks_count; |