[PATCH] drm/amd/display: Fix error message

Kazlauskas, Nicholas Nicholas.Kazlauskas at amd.com
Mon Aug 26 14:19:57 UTC 2019


On 8/26/19 10:16 AM, Andrey Grodzovsky wrote:
> Since reservation_object_wait_timeout_rcu is called with
> interruptable set to false it's wrong to say
> 'or interrupted' in the error message.
> 
> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>

> ---
>   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index 93f6446..da3d762 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -5685,7 +5685,7 @@ static void amdgpu_dm_commit_planes(struct drm_atomic_state *state,
>   							false,
>   							msecs_to_jiffies(5000));
>   		if (unlikely(r <= 0))
> -			DRM_ERROR("Waiting for fences timed out or interrupted!");
> +			DRM_ERROR("Waiting for fences timed out!");
>   
>   		/*
>   		 * TODO This might fail and hence better not used, wait
> 



More information about the amd-gfx mailing list