drm/msm: Ratelimit invalid-fence message

[ Upstream commit 7ad48d27a2 ]

We have seen a couple cases where low memory situations cause something
bad to happen, followed by a flood of these messages obscuring the root
cause.  Lets ratelimit the dmesg spam so that next time it happens we
don't lose the kernel traces leading up to this.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Rob Clark 2021-03-17 09:40:38 -07:00 • committed by Greg Kroah-Hartman
commit 439c2c22fb