[PATCH] drm/amdgpu: enlarge maximum waiting time of KIQ

Christian König ckoenig.leichtzumerken at gmail.com
Fri Nov 30 12:35:33 UTC 2018


Am 30.11.18 um 10:48 schrieb wentalou:
> 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
> Signed-off-by: wentalou <wentalou at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> index c8ad6bf..26e2455 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> @@ -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.

>   
>   int amdgpu_device_ip_set_clockgating_state(void *dev,
>   					   enum amd_ip_block_type block_type,



More information about the amd-gfx mailing list