[PATCH v2 0/3] drm/msm: Shrinker fixes and opts

Rob Clark
2020-11-16T17:47:04Z

The last patch is the main thing, motivated by some cases where we would
spend a lot of time in msm_gem_shrinker_count(). First two are fixes I
noticed along the way.

Rob Clark (3):
drm/msm: Protect obj->active_count under obj lock
drm/msm/shrinker: We can vmap shrink active_list too
drm/msm/shrinker: Only iterate dontneed objs

drivers/gpu/drm/msm/msm_debugfs.c | 3 +-
drivers/gpu/drm/msm/msm_drv.c | 3 +-
drivers/gpu/drm/msm/msm_drv.h | 8 ++--
drivers/gpu/drm/msm/msm_gem.c | 45 ++++++++++++++++------
drivers/gpu/drm/msm/msm_gem.h | 5 ++-
drivers/gpu/drm/msm/msm_gem_shrinker.c | 52 +++++++++++++++++++-------
drivers/gpu/drm/msm/msm_gpu.c | 10 +++--
7 files changed, 89 insertions(+), 37 deletions(-)

--
2.28.0