drm/msm: shrinker support
authorRob Clark <robdclark@gmail.com>
Tue, 17 May 2016 20:19:32 +0000 (16:19 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Jul 2016 14:09:06 +0000 (10:09 -0400)
commit68209390f116034449fa6a3ae03f7b100b3d894a
tree00fae111275f1785a910792c21261b6d52876321
parent4fe5f65e66823dcb212a0404af47389b2b1c58f0
drm/msm: shrinker support

For a first step, only purge obj->madv==DONTNEED objects.  We could be
more agressive and next try unpinning inactive objects..  but that is
only useful if you have swap.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_drv.h
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_gem.h
drivers/gpu/drm/msm/msm_gem_shrinker.c [new file with mode: 0644]