[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d49731c0ecc5b2337f26597decbf82e4@codeaurora.org>
Date: Wed, 01 Jul 2020 15:51:21 -0700
From: abhinavk@...eaurora.org
To: Rob Clark <robdclark@...il.com>
Cc: dri-devel@...ts.freedesktop.org,
Rob Clark <robdclark@...omium.org>,
Sean Paul <sean@...rly.run>, David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Drew Davenport <ddavenport@...omium.org>,
Sam Ravnborg <sam@...nborg.org>,
Hongbo Yao <yaohongbo@...wei.com>,
Kalyan Thota <kalyan_t@...eaurora.org>,
linux-arm-msm@...r.kernel.org, freedreno@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, linux-arm-msm-owner@...r.kernel.org
Subject: Re: [PATCH] drm/msm: ratelimit crtc event overflow error
On 2020-07-01 13:36, Rob Clark wrote:
> From: Rob Clark <robdclark@...omium.org>
>
> This can happen a lot when things go pear shaped. Lets not flood dmesg
> when this happens.
>
> Signed-off-by: Rob Clark <robdclark@...omium.org>
Reviewed-by: Abhinav Kumar <abhinavk@...eaurora.org>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
> b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
> index e15b42a780e0..969d95aa873c 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
> @@ -389,7 +389,7 @@ static void dpu_crtc_frame_event_cb(void *data, u32
> event)
> spin_unlock_irqrestore(&dpu_crtc->spin_lock, flags);
>
> if (!fevent) {
> - DRM_ERROR("crtc%d event %d overflow\n", crtc->base.id, event);
> + DRM_ERROR_RATELIMITED("crtc%d event %d overflow\n", crtc->base.id,
> event);
> return;
> }
Powered by blists - more mailing lists