Skip to content

Commit

Permalink
drm/amd/display: change SMU repsonse timeout to 2s.
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
Yongqiang Sun authored and Alex Deucher committed Dec 23, 2020
1 parent e8e91f9 commit cf7fc75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int rn_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned
/* Trigger the message transaction by writing the message ID */
REG_WRITE(MP1_SMN_C2PMSG_67, msg_id);

result = rn_smu_wait_for_response(clk_mgr, 10, 1000);
result = rn_smu_wait_for_response(clk_mgr, 10, 200000);

ASSERT(result == VBIOSSMC_Result_OK || result == VBIOSSMC_Result_UnknownCmd);

Expand Down

0 comments on commit cf7fc75

Please sign in to comment.