Skip to content

Commit 0551626

Browse files
CharlesSun1018alexdeucher
authored andcommitted
drm/amd/pm: increase time out value when sending msg to SMU
when do S3 stress, low rate that PowerUpVcn message will get response more than 1s, so here increase the timeout to 2s Signed-off-by: charles sun <charles.sun@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <Alexander.Deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent f066af8 commit 0551626

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static void smu_cmn_read_arg(struct smu_context *smu,
7979
int smu_cmn_wait_for_response(struct smu_context *smu)
8080
{
8181
struct amdgpu_device *adev = smu->adev;
82-
uint32_t cur_value, i, timeout = adev->usec_timeout * 10;
82+
uint32_t cur_value, i, timeout = adev->usec_timeout * 20;
8383

8484
for (i = 0; i < timeout; i++) {
8585
cur_value = RREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_90);

0 commit comments

Comments
 (0)