drm/amd/powerplay: increase the SMU msg response waiting time
Subsystems (2)
PATCH 1/1 drm/amd/powerplay: increase the SMU msg response waiting time
Increase the waiting time to 1s from 200ms. This is expected to fix some mode1 reset failures.
--- drivers/gpu/drm/amd/include/amd_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/include/amd_shared.h +1 -1
@@ -28,7 +28,7 @@#endif -#define AMD_MAX_USEC_TIMEOUT 200000/* 200 ms */ +#define AMD_MAX_USEC_TIMEOUT 1000000/* 1000 ms */ /* * Chip flags
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
If this is just for the SMU, maybe it would be better to add a separate timeout for the SMU since this will increase the timeout for lots of things, unless we need an overall timeout increase for mode1 reset.
Alex
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Evan Quan <[email protected]>
Sent: Tuesday, July 9, 2019 1:41 AM
To: [email protected]
Cc: Deucher, Alexander; Grodzovsky, Andrey; Quan, Evan; Wu, Xiaowei
Subject: [PATCH] drm/amd/powerplay: increase the SMU msg response waiting time
Increase the waiting time to 1s from 200ms. This is expected to fix some mode1 reset failures.
--- drivers/gpu/drm/amd/include/amd_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/include/amd_shared.h +1 -1
@@ -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 [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): BN6PR12MB180934CC91BC9A2A3C393AC2F7F10-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org
Hi Alex,
There are actually two MAX_USEC_TIMEOUT related macros.AMD_MAX_USEC_TIMEOUT is used for SMU and AMDGPU_MAX_USEC_TIMEOUT is used widely in other parts. Maybe you mistreated it as AMDGPU_MAX_USEC_TIMEOUT. I was confused by them too.
drivers/gpu/drm/amd/include/amd_shared.h:29:#define AMD_MAX_USEC_TIMEOUT 200000 /* 200 ms */ drivers/gpu/drm/amd/amdgpu/amdgpu.h:179:#define AMDGPU_MAX_USEC_TIMEOUT 100000 /* 100 ms */
I'm considering to sort these timeout settings up later. Maybe to combine them as one or give them differentiated names.
Regards,
Evan
From: Deucher, Alexander <[email protected]>
Sent: Tuesday, July 09, 2019 8:41 PM
To: Quan, Evan <[email protected]>; [email protected]
Cc: Grodzovsky, Andrey <[email protected]>; Wu, Xiaowei <[email protected]>
Subject: Re: [PATCH] drm/amd/powerplay: increase the SMU msg response waiting time
If this is just for the SMU, maybe it would be better to add a separate timeout for the SMU since this will increase the timeout for lots of things, unless we need an overall timeout increase for mode1 reset.
Alex
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org<mailto:[email protected]>> on behalf of Evan Quan <[email protected]<mailto:[email protected]>>
Sent: Tuesday, July 9, 2019 1:41 AM
To: [email protected]<mailto:[email protected]>
Cc: Deucher, Alexander; Grodzovsky, Andrey; Quan, Evan; Wu, Xiaowei
Subject: [PATCH] drm/amd/powerplay: increase the SMU msg response waiting time
Increase the waiting time to 1s from 200ms. This is expected to fix some mode1 reset failures.
--- drivers/gpu/drm/amd/include/amd_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/include/amd_shared.h +1 -1
@@ -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 [email protected]<mailto:[email protected]>
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): BN8PR12MB33290CA144CF8883E42E8E0FE4F00-h6+T2+wrnx3WSNCBJ7MpiAdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org
Alex Deucher
Acked-byQuoted 13 lines · Evan
Hi Alex,
There are actually two
MAX_USEC_TIMEOUTrelated macros.
AMD_MAX_USEC_TIMEOUTis used for SMU andAMDGPU_MAX_USEC_TIMEOUTis used widely in other parts.Maybe you mistreated it as
AMDGPU_MAX_USEC_TIMEOUT. I was confused by them too.
Quoted 9 lines
drivers/gpu/drm/amd/include/amd_shared.h:29:#define
AMD_MAX_USEC_TIMEOUT200000 /* 200 ms */drivers/gpu/drm/amd/amdgpu/amdgpu.h:179:#define
AMDGPU_MAX_USEC_TIMEOUT100000 /* 100 ms */I’m considering to sort these timeout settings up later. Maybe to combine them as one or give them differentiated names.
Indeed. I was mixing them up. We should clarify those. Patch is:
Quoted 59 lines
Regards,
Evan
From: Deucher, Alexander <[email protected]>
Sent: Tuesday, July 09, 2019 8:41 PM
To: Quan, Evan <[email protected]>; [email protected]
Cc: Grodzovsky, Andrey <[email protected]>; Wu, Xiaowei <[email protected]>
Subject: Re: [PATCH] drm/amd/powerplay: increase the SMU msg response waiting timeIf this is just for the SMU, maybe it would be better to add a separate timeout for the SMU since this will increase the timeout for lots of things, unless we need an overall timeout increase for mode1 reset.
Alex
________________________________
From: amd-gfx <[email protected]> on behalf of Evan Quan <[email protected]>
Sent: Tuesday, July 9, 2019 1:41 AM
To: [email protected]
Cc: Deucher, Alexander; Grodzovsky, Andrey; Quan, Evan; Wu, Xiaowei
Subject: [PATCH] drm/amd/powerplay: increase the SMU msg response waiting timeIncrease the waiting time to 1s from 200ms. This is expected to fix some mode1 reset failures.
Change-Id I4c11996628cd40d559c6edea97d092f397122d78Signed-off-by Evan Quan <[email protected]>--- drivers/gpu/drm/amd/include/amd_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/include/amd_shared.h +1
-2@@ -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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx