]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Expose hive adev list and xgmi_mutex
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 14 Nov 2018 20:50:05 +0000 (15:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Nov 2018 20:55:36 +0000 (15:55 -0500)
commit4fd9d746f1f1f71cbb09842ba82aa1b47ee5e80f
tree7af9e39d1847570e71d23a053b7bf1389a8ce9ac
parent9b8cd1460b909210bd43535ccf3d197339e32951
drm/amdgpu: Expose hive adev list and xgmi_mutex

It's needed for device reset of entire hive.

v3:
Add per hive lock to allow avoiding duplicate resets triggered by
multiple members  of same hive.
Expose amdgpu_hive_info instead of adding getter functions.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h