drm/amdgpu: Add bootloader status check
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 19 Jul 2023 07:33:25 +0000 (13:03 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 21:58:58 +0000 (17:58 -0400)
commit7656168a8a83f8fc6d062d944fd52d18d4da05d7
treead7654e0fadef9cf630c12fdec5a74cf04c48617
parent8c97e87c13d9d181c14545864dbf6bbbd83f639b
drm/amdgpu: Add bootloader status check

Add a function to wait till bootloader has reached steady state.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Tested-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h