Skip to content

Commit 5e16372

Browse files
committed
drm/msm: ratelimit crtc event overflow error
This can happen a lot when things go pear shaped. Lets not flood dmesg when this happens. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Signed-off-by: Rob Clark <[email protected]>
1 parent 1f60d11 commit 5e16372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ static void dpu_crtc_frame_event_cb(void *data, u32 event)
389389
spin_unlock_irqrestore(&dpu_crtc->spin_lock, flags);
390390

391391
if (!fevent) {
392-
DRM_ERROR("crtc%d event %d overflow\n", crtc->base.id, event);
392+
DRM_ERROR_RATELIMITED("crtc%d event %d overflow\n", crtc->base.id, event);
393393
return;
394394
}
395395

0 commit comments

Comments
 (0)