]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: change SMU repsonse timeout to 2s.
authorYongqiang Sun <yongqiang.sun@amd.com>
Wed, 9 Dec 2020 21:56:51 +0000 (16:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:01:53 +0000 (15:01 -0500)
commite91974e16db3a8820e076f2c82187c387b5d8626
treeeab765bb36c78825dc7b490c077aa69e17dcd82a
parent7fbcfa832700d11b916c941ddb653421f8174b02
drm/amd/display: change SMU repsonse timeout to 2s.

[Why]
there is some garbage showing up during reboot test.
Reason:
SMU might handle display driver msg defered and driver will send
next msg to SMU after 10ms timeout, once SMU FW handle previous msg,
parameters are changed to next one, which result in a wrong value be programmed.

[How]
Extend timeout to 2s so SMU will have enough time to handle driver msg.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@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