Commit 5e16372b authored by Rob Clark's avatar Rob Clark

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: default avatarRob Clark <robdclark@chromium.org>
Reviewed-by: default avatarAbhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 1f60d114
...@@ -389,7 +389,7 @@ static void dpu_crtc_frame_event_cb(void *data, u32 event) ...@@ -389,7 +389,7 @@ static void dpu_crtc_frame_event_cb(void *data, u32 event)
spin_unlock_irqrestore(&dpu_crtc->spin_lock, flags); spin_unlock_irqrestore(&dpu_crtc->spin_lock, flags);
if (!fevent) { 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; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment