]> git.baikalelectronics.ru Git - 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)
commitf152c5729eee4d95ead8e7a6a96df6400932c4b9
tree9e1ce0464bf66b5b7a935d9a3a5558792a05d9dc
parentdbf9d7f8f26713b58e91eabd90a9546f1ace0e68
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