]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Fix fence rollover issue
authorRob Clark <robdclark@chromium.org>
Wed, 15 Jun 2022 16:24:35 +0000 (09:24 -0700)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 5 Jul 2022 03:01:11 +0000 (06:01 +0300)
commitdeecca246112838748d0dca9f47cfd339744d594
tree1e0e1b367649c75cf59f73a71efb8136e64535bf
parent3ae06aae04c4dcaeb4feed57444a90d49a877c19
drm/msm: Fix fence rollover issue

And while we are at it, let's start the fence counter close to the
rollover point so that if issues slip in, they are more obvious.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Fixes: af71ba97e4e0 ("drm/msm: move fence code to it's own file")
Fixes: 004abb218ece ("drm/msm: Handle fence rollover")
Patchwork: https://patchwork.freedesktop.org/patch/489619/
Link: https://lore.kernel.org/r/20220615162435.3011793-1-robdclark@gmail.com
[DB: fixed the conflict while applying the patch]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/msm_fence.c