]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Wait for bootloader after PSPv11 reset
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 18 Jul 2025 13:20:58 +0000 (18:50 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Aug 2025 18:17:50 +0000 (14:17 -0400)
commit32f73741d6ee41fd5db8791c1163931e313d0fdc
tree0128d421616c766521fb4a219bd1eb77831179e6
parent66f92d1035db75c8da6b362b7eca3fe76704f61f
drm/amdgpu: Wait for bootloader after PSPv11 reset

Some PSPv11 SOCs take a longer time for PSP based mode-1 reset. Instead
of checking for C2PMSG_33 status, add the callback wait_for_bootloader.
Wait for bootloader to be back to steady state is already part of the
generic mode-1 reset flow. Increase the retry count for bootloader wait
and also fix the mask to prevent fake pass.

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