drm/amdgpu: enlarge maximum waiting time of KIQ
Subsystems (2)
PATCH 1/1 drm/amdgpu: enlarge maximum waiting time of KIQ
KIQ in VF’s init delayed by another VF’s reset, which would cause late_init failed occasionally. MAX_KIQ_REG_TRY enlarged from 20 to 80 would fix this issue.
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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/* 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): 1543806043-1049-1-git-send-email-wentalou-5C7GfCeVMHo@public.gmane.org
Am 03.12.18 um 04:00 schrieb wentalou:
Quoted 6 lines
KIQ in VF’s init delayed by another VF’s reset, which would cause
late_initfailed occasionally.MAX_KIQ_REG_TRYenlarged from 20 to 80 would fix this issue.Change-Id Iac680af3cbd6afe4f8e408785f0795e1b23dba83Signed-off-by wentalou <[email protected]>
Your full name would be preferred in the Signed-off-by line.
Apart from that the patch is Acked-by: Christian König <[email protected]>.
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu.h +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu.h enum amdgpu_kiq_irq { · line 241
Quoted 8 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/* 20 -> 80 */ 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