From: Evan Quan Date: Wed, 3 Jul 2019 01:21:37 +0000 (+0800) Subject: drm/amd/powerplay: increase the SMU msg response waiting time X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=617a64dc85f91c46ccf65aefbf7a4d194280a453;p=linux.git 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 Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index d352b8d763651..a0a7211438f22 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -26,7 +26,7 @@ #include -#define AMD_MAX_USEC_TIMEOUT 200000 /* 200 ms */ +#define AMD_MAX_USEC_TIMEOUT 1000000 /* 1000 ms */ /* * Chip flags