drm/amd/display: Add SMU timeout check and retry
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Mon, 12 Feb 2024 21:31:18 +0000 (14:31 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 15:14:53 +0000 (10:14 -0500)
commitfe9e1549ceb12baa9b50acc84e6c3f8e0751c052
tree35653818c8e59f24ddcaf531ca1a865590adf02d
parent0fbe49bef988c9f2ba9b2f17b45dbdf3b22164b9
drm/amd/display: Add SMU timeout check and retry

Instead of only asserting in the case of the SMU wait time is not what
we expect, add the SMU timeout check and try again.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/dcn301_smu.c