]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdkfd: Add domain number into gpu_id
authorAmber Lin <Amber.Lin@amd.com>
Thu, 14 Feb 2019 21:02:26 +0000 (16:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:03 +0000 (12:21 -0500)
commit460960587ae80802c76384b0580ed9c89e6e4bb7
tree9e1ce0464bf66b5b7a935d9a3a5558792a05d9dc
parented81cd6e0e9f37c6aca6d96194307b995f3b5f30
drm/amdkfd: Add domain number into gpu_id

A multi-socket server can have multiple PCIe segments so BFD is not enough
to distingush each GPU. Also add domain number into account when generating
gpu_id.

Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c