Skip to contentSkip to conversation

drm/amdgpu: enlarge maximum waiting time of KIQ

PATCH In review wentalou 2 participants 2 messages Nov 30, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

wentalou

author
#0 lore raw

PATCH 1/1 drm/amdgpu: enlarge maximum waiting time of KIQ

SWDEV-171843: KIQ in VF’s init delayed by another VF’s reset. late_init failed occasionally if overlapped with another VF’s reset. MAX_KIQ_REG_TRY enlarged from 20 to 80 would fix this issue.

Change-Id I841774bdd9ebf125c5aa2046b1dcebd111165e07
---
 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1 -1
index c8ad6bf..26e2455 100644
@@ -235,7 +235,7 @@ enum amdgpu_kiq_irq {
 
 #define MAX_KIQ_REG_WAIT       5000 /* in usecs, 5ms */
 #define MAX_KIQ_REG_BAILOUT_INTERVAL   5 /* in msecs, 5ms */
-#define MAX_KIQ_REG_TRY 20
+#define MAX_KIQ_REG_TRY 80 /* SWDEV-171843: 20 -> 80 */
 
 int amdgpu_device_ip_set_clockgating_state(void *dev,
 					   enum amd_ip_block_type block_type,
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): 1543571330-24484-1-git-send-email-wentalou-5C7GfCeVMHo@public.gmane.org

#2 lore raw

Am 30.11.18 um 10:48 schrieb wentalou:

Quoted 15 lines

SWDEV-171843: KIQ in VF’s init delayed by another VF’s reset. late_init failed occasionally if overlapped with another VF’s reset. MAX_KIQ_REG_TRY enlarged from 20 to 80 would fix this issue.

Change-Id I841774bdd9ebf125c5aa2046b1dcebd111165e07
---
  drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0 -0
index c8ad6bf..26e2455 100644

drivers/gpu/drm/amd/amdgpu/amdgpu.h enum amdgpu_kiq_irq { · line 238

Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1 -1
@@ -235,7 +235,7 @@ enum amdgpu_kiq_irq {
 
  #define MAX_KIQ_REG_WAIT       5000 /* in usecs, 5ms */
  #define MAX_KIQ_REG_BAILOUT_INTERVAL   5 /* in msecs, 5ms */
-#define MAX_KIQ_REG_TRY 20
+#define MAX_KIQ_REG_TRY 80 /* SWDEV-171843: 20 -> 80 */

Please don't add any internal ticket numbers to public source code.

Christian.

drivers/gpu/drm/amd/amdgpu/amdgpu.h enum amdgpu_kiq_irq { · line 241

Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0 -0
  int amdgpu_device_ip_set_clockgating_state(void *dev,
  					   enum amd_ip_block_type block_type,

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx