drm/msm: Reduce fallout of fence signaling vs reclaim hangs
authorRob Clark <robdclark@chromium.org>
Fri, 17 Nov 2023 15:14:19 +0000 (07:14 -0800)
committerRob Clark <robdclark@chromium.org>
Tue, 21 Nov 2023 01:15:02 +0000 (17:15 -0800)
commit4bea53b9c7c72fd12a0ceebe88a71723c0a514b8
treef88d97a28ae2c4293b2b040e6583b40b256b9f80
parent548b61a8ce18dec8757fcc112eac5bd125161408
drm/msm: Reduce fallout of fence signaling vs reclaim hangs

Until various PM devfreq/QoS and interconnect patches land, we could
potentially trigger reclaim from gpu scheduler thread, and under enough
memory pressure that could trigger a sort of deadlock.  Eventually the
wait will timeout and we'll move on to consider other GEM objects.  But
given that there is still a potential for deadlock/stalling, we should
reduce the timeout to contain the damage.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/568031/
drivers/gpu/drm/msm/msm_gem_shrinker.c