[PATCH 0/3] drm/msm: Shrinker fixes and opts
Rob Clark
robdclark at gmail.com
Sat Nov 14 19:30:07 UTC 2020
From: Rob Clark <robdclark at chromium.org>
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
More information about the dri-devel
mailing list