drm/msm/mdp5: rate limit pp done timeout warnings
[ Upstream commit ef8c9809acb0805c991bba8bdd4749fc46d44a98 ] Add rate limiting of the 'pp done time out' warnings since these warnings can quickly fill the dmesg buffer. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Rob Clark <robdclark@chromium.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dcfc1ec7bb
commit
6c693518f8
@@ -1118,8 +1118,8 @@ static void mdp5_crtc_wait_for_pp_done(struct drm_crtc *crtc)
|
|||||||
ret = wait_for_completion_timeout(&mdp5_crtc->pp_completion,
|
ret = wait_for_completion_timeout(&mdp5_crtc->pp_completion,
|
||||||
msecs_to_jiffies(50));
|
msecs_to_jiffies(50));
|
||||||
if (ret == 0)
|
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);
|
mdp5_cstate->pipeline.mixer->lm);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void mdp5_crtc_wait_for_flush_done(struct drm_crtc *crtc)
|
static void mdp5_crtc_wait_for_flush_done(struct drm_crtc *crtc)
|
||||||
|
|||||||
Reference in New Issue
Block a user