[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201114193010.753355-1-robdclark@gmail.com>
Date: Sat, 14 Nov 2020 11:30:07 -0800
From: Rob Clark <robdclark@...il.com>
To: dri-devel@...ts.freedesktop.org
Cc: Rob Clark <robdclark@...omium.org>,
freedreno@...ts.freedesktop.org (open list:DRM DRIVER FOR MSM ADRENO
GPU), Jordan Crouse <jcrouse@...eaurora.org>,
"Kristian H. Kristensen" <hoegsberg@...gle.com>,
linux-arm-msm@...r.kernel.org (open list:DRM DRIVER FOR MSM ADRENO GPU),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 0/3] drm/msm: Shrinker fixes and opts
From: Rob Clark <robdclark@...omium.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
Powered by blists - more mailing lists