[PATCH 16/18] drm/amdgpu: increate mailbox polling timeout to 12s.
Christian König
ckoenig.leichtzumerken at gmail.com
Mon Sep 18 09:23:04 UTC 2017
Am 18.09.2017 um 08:12 schrieb Monk Liu:
> From: Horace Chen <horace.chen at amd.com>
>
> Because there may have multiple FLR waiting for done, the waiting
> time of events may be long, add the time to 12s to reduce timeout
> failure.
>
> Change-Id: I6b33170ba7dedf781b99ba6095127efce403af81
> Signed-off-by: Horace Chen <horace.chen at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h | 2 +-
> drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
> index 1e91b9a..67e7857 100644
> --- a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
> +++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
> @@ -24,7 +24,7 @@
> #ifndef __MXGPU_AI_H__
> #define __MXGPU_AI_H__
>
> -#define AI_MAILBOX_TIMEDOUT 5000
> +#define AI_MAILBOX_TIMEDOUT 12000
>
> enum idh_request {
> IDH_REQ_GPU_INIT_ACCESS = 1,
> diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
> index c791d73..f13dc6c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
> +++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
> @@ -23,7 +23,7 @@
> #ifndef __MXGPU_VI_H__
> #define __MXGPU_VI_H__
>
> -#define VI_MAILBOX_TIMEDOUT 5000
> +#define VI_MAILBOX_TIMEDOUT 12000
> #define VI_MAILBOX_RESET_TIME 12
>
> /* VI mailbox messages request */
More information about the amd-gfx
mailing list