Commit ef8c9809 authored by Brian Masney's avatar Brian Masney Committed by Rob Clark
Browse files

drm/msm/mdp5: rate limit pp done timeout warnings



Add rate limiting of the 'pp done time out' warnings since these
warnings can quickly fill the dmesg buffer.

Signed-off-by: default avatarBrian Masney <masneyb@onstation.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent bb6d3fb3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1109,7 +1109,7 @@ static void mdp5_crtc_wait_for_pp_done(struct drm_crtc *crtc)
	ret = wait_for_completion_timeout(&mdp5_crtc->pp_completion,
						msecs_to_jiffies(50));
	if (ret == 0)
		dev_warn(dev->dev, "pp done time out, lm=%d\n",
		dev_warn_ratelimited(dev->dev, "pp done time out, lm=%d\n",
				     mdp5_cstate->pipeline.mixer->lm);
}