drm/amdkfd: kfd expose the hive_id of the device through its node properties
authorShaoyun Liu <Shaoyun.Liu@amd.com>
Fri, 6 Jul 2018 15:32:42 +0000 (11:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:48:43 +0000 (22:48 -0500)
commit0c1690e38b5e688166d009145ba0a4806f774465
tree189074293ceb72e200b058d61000fe650768e068
parentdb8b62c04b2344f17570186f8f022fb96e71d8d8
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>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
drivers/gpu/drm/amd/amdkfd/kfd_topology.h