From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Deucher, Alexander" Subject: Re: [PATCH] drm/amd/powerplay: increase the SMU msg response waiting time Date: Tue, 9 Jul 2019 12:40:43 +0000 Message-ID: References: <20190709054111.11433-1-evan.quan@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2059455821==" Return-path: In-Reply-To: <20190709054111.11433-1-evan.quan-5C7GfCeVMHo@public.gmane.org> Content-Language: en-US List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "amd-gfx" To: "Quan, Evan" , "amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org" Cc: "Grodzovsky, Andrey" , "Wu, Xiaowei" --===============2059455821== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BN6PR12MB180934CC91BC9A2A3C393AC2F7F10BN6PR12MB1809namp_" --_000_BN6PR12MB180934CC91BC9A2A3C393AC2F7F10BN6PR12MB1809namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable If this is just for the SMU, maybe it would be better to add a separate tim= eout for the SMU since this will increase the timeout for lots of things, u= nless we need an overall timeout increase for mode1 reset. Alex ________________________________ From: amd-gfx on behalf of Evan Qua= n Sent: Tuesday, July 9, 2019 1:41 AM To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Cc: Deucher, Alexander; Grodzovsky, Andrey; Quan, Evan; Wu, Xiaowei Subject: [PATCH] drm/amd/powerplay: increase the SMU msg response waiting t= ime Increase the waiting time to 1s from 200ms. This is expected to fix some mode1 reset failures. Change-Id: I4c11996628cd40d559c6edea97d092f397122d78 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/include/amd_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd= /include/amd_shared.h index 447bc4d..779c9e7 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -28,7 +28,7 @@ #endif -#define AMD_MAX_USEC_TIMEOUT 200000 /* 200 ms */ +#define AMD_MAX_USEC_TIMEOUT 1000000 /* 1000 ms */ /* * Chip flags -- 2.7.4 _______________________________________________ amd-gfx mailing list amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx --_000_BN6PR12MB180934CC91BC9A2A3C393AC2F7F10BN6PR12MB1809namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
If this is just for the SMU, maybe it would be better to add a separate tim= eout for the SMU since this will increase the timeout for lots of things, u= nless we need an overall timeout increase for mode1 reset.

Alex

From: amd-gfx <amd-gfx-b= ounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Evan Quan <evan.quan@amd.c= om>
Sent: Tuesday, July 9, 2019 1:41 AM
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Deucher, Alexander; Grodzovsky, Andrey; Quan, Evan; Wu, Xiaowei<= br> Subject: [PATCH] drm/amd/powerplay: increase the SMU msg response wa= iting time
 
Increase the waiting time to 1s from 200ms. This i= s expected
to fix some mode1 reset failures.

Change-Id: I4c11996628cd40d559c6edea97d092f397122d78
Signed-off-by: Evan Quan <evan.quan-5C7GfCeVMHo@public.gmane.org>
---
 drivers/gpu/drm/amd/include/amd_shared.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd= /include/amd_shared.h
index 447bc4d..779c9e7 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -28,7 +28,7 @@
 #endif
 
 
-#define AMD_MAX_USEC_TIMEOUT       &nbs= p;   200000  /* 200 ms */
+#define AMD_MAX_USEC_TIMEOUT       =     1000000  /* 1000 ms */
 
 /*
  * Chip flags
--
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
https://= lists.freedesktop.org/mailman/listinfo/amd-gfx
--_000_BN6PR12MB180934CC91BC9A2A3C393AC2F7F10BN6PR12MB1809namp_-- --===============2059455821== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KYW1kLWdmeCBt YWlsaW5nIGxpc3QKYW1kLWdmeEBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9hbWQtZ2Z4 --===============2059455821==--