]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit3e58e95acef5a49038e61570100764bb483c4034
treedacb243dc01377185df07ffc81b6db1e72ff5ee7
parent6de1601e84e40888296973c61b1516dc4d5977e3
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