aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2019-07-03 09:21:37 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-07-11 14:37:23 -0500
commit617a64dc85f91c46ccf65aefbf7a4d194280a453 (patch)
tree15fafa08dc8294c57007d94dce9b3bdb597620af /drivers/gpu
parentdrm/amdgpu: Fix potential integer overflows (diff)
downloadlinux-dev-617a64dc85f91c46ccf65aefbf7a4d194280a453.tar.xz
linux-dev-617a64dc85f91c46ccf65aefbf7a4d194280a453.zip
drm/amd/powerplay: increase the SMU msg response waiting time
This is expected to fix some mode1 reset failures. And this affects SMU part only as the timeout setting for other parts is controlled by a different macro. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index d352b8d76365..a0a7211438f2 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -26,7 +26,7 @@
#include <drm/amd_asic_type.h>
-#define AMD_MAX_USEC_TIMEOUT 200000 /* 200 ms */
+#define AMD_MAX_USEC_TIMEOUT 1000000 /* 1000 ms */
/*
* Chip flags