drm/amdgpu: Wait for reset on init completion
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 7 Oct 2024 08:19:45 +0000 (13:49 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:22:26 +0000 (11:22 -0400)
commitd25d26b8a87a97ce3bd7f5db840f9ca72ba5d422
treec4de97909b72863bf958fd3f75388b3b97482046
parent98c0b0efcc11f2a5ddf3ce33af1e48eedf808b04
drm/amdgpu: Wait for reset on init completion

When reset on initialization is requested, wait for the reset to finish.
In cases where module is loaded after boot, this makes sure all
initialization work is done after a successful return of modprobe.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Ramesh Errabolu <ramesh.errabolu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c