]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Report domain with topology
authorOri Messinger <Ori.Messinger@amd.com>
Wed, 21 Aug 2019 14:48:43 +0000 (10:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 May 2020 13:59:51 +0000 (09:59 -0400)
commitf5c70b3be043e62e4462d215e58535e8497f8026
treedacb243dc01377185df07ffc81b6db1e72ff5ee7
parent449092b20c402dcde7bff6bd44a75e0aab0b22d2
drm/amdkfd: Report domain with topology

PCI domain has moved to 32-bits to accommodate virtualization,
so a 32-bit integer is exposed for domain to reflect this change.

Domain can be found in here:
/sys/class/kfd/kfd/topology/nodes/X/properties
Where X is the card number

Signed-off-by: Ori Messinger <ori.messinger@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
drivers/gpu/drm/amd/amdkfd/kfd_topology.h