drm/msm/gem: Check for active in shrinker path
authorRob Clark <robdclark@chromium.org>
Tue, 2 Aug 2022 15:51:37 +0000 (08:51 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 27 Aug 2022 16:32:44 +0000 (09:32 -0700)
commit01780d02634a3a99ba0c3ca52d06d0cdfdf82331
treee649942a6fc316615b27e9f429960f525fc70c5b
parent05ba44b3704e2115251c340fc72db609a0b97f3b
drm/msm/gem: Check for active in shrinker path

Currently in our shrinker path we shouldn't be encountering anything
that is active, but this will change in subsequent patches.  So check
if there are unsignaled fences.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/496117/
Link: https://lore.kernel.org/r/20220802155152.1727594-5-robdclark@gmail.com
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_gem.h
drivers/gpu/drm/msm/msm_gem_shrinker.c