]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Move scheduler init to after XGMI is ready
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Mon, 6 Dec 2021 19:59:35 +0000 (14:59 -0500)
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 9 Feb 2022 17:15:04 +0000 (12:15 -0500)
commit78d6c688b47355f05541edf1fa3503075729b765
tree52eb7f73ebb898c8be2ea5f86eb7c10a968a0311
parent8d5d19e0afed9f74067d7c7913928306b97b4375
drm/amdgpu: Move scheduler init to after XGMI is ready

Before we initialize schedulers we must know which reset
domain are we in - for single device there iis a single
domain per device and so single wq per device. For XGMI
the reset domain spans the entire XGMI hive and so the
reset wq is per hive.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://www.spinics.net/lists/amd-gfx/msg74112.html
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h