From: Le Ma <[email protected]>

Increase the upper bound of the PSP command polling sleep range to allow
more time for commands such as UAL_SET_STATION_CONFIG to complete before
the next status check.

Signed-off-by: Le Ma <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 6a66a90c8e5b3..b8def8b7e1426 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -895,7 +895,7 @@ psp_cmd_submit_buf(struct psp_context *psp,
                ras_intr = amdgpu_ras_intr_triggered();
                if (ras_intr)
                        break;
-               usleep_range(60, 100);
+               usleep_range(60, 150);
                amdgpu_device_invalidate_hdp(psp->adev, NULL);
        }
 
-- 
2.55.0

Reply via email to