]> git.ipfire.org Git - people/arne_f/kernel.git/commit
drm/msm: Ratelimit invalid-fence message
authorRob Clark <robdclark@chromium.org>
Wed, 17 Mar 2021 16:40:38 +0000 (09:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Apr 2021 11:04:44 +0000 (13:04 +0200)
commitfefc74ac04acbdae7872cb398f400b07897bf2df
tree4ef7761b4e622f6ba69f878ac8cec17b1ff2ed2b
parent227e9c17a1b65dc95cc33793ec68113a1dfd1ebc
drm/msm: Ratelimit invalid-fence message

[ Upstream commit 7ad48d27a2846bfda29214fb454d001c3e02b9e7 ]

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>
drivers/gpu/drm/msm/msm_fence.c