]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Add debugfs to trigger shrinker
authorRob Clark <robdclark@chromium.org>
Mon, 14 Jun 2021 15:06:18 +0000 (08:06 -0700)
committerRob Clark <robdclark@chromium.org>
Wed, 23 Jun 2021 14:33:55 +0000 (07:33 -0700)
commit5434941fd45d30dadc7e9e1227cf109bb3796d22
tree2c84a6bbb6b666ad237dec6df3723a9b74ddf76c
parentc96348a8fbff90ef610b0323218e9d585683bdd2
drm/msm: Add debugfs to trigger shrinker

Just for the purposes of testing.  Write to it the # of objects to scan,
read back the # freed.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20210614150618.729610-1-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_debugfs.c
drivers/gpu/drm/msm/msm_drv.h
drivers/gpu/drm/msm/msm_gem_shrinker.c