diff options
author | Rob Clark <robdclark@gmail.com> | 2016-05-27 18:16:28 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-07-16 17:09:07 +0300 |
commit | e1e9db2ca79575b8d6b4b5891194bb29c630c42d (patch) | |
tree | 645b6ec8caf75d2a26d6e62836eb514a5f78ad90 /drivers/gpu/drm/msm/msm_drv.h | |
parent | 18f23049f640e2590930c34009418c66e6ebf7b6 (diff) | |
download | linux-e1e9db2ca79575b8d6b4b5891194bb29c630c42d.tar.xz |
drm/msm: wire up vmap shrinker
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index ecf0b3b03e0e..b4bc7f1ef717 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -153,6 +153,7 @@ struct msm_drm_private { struct drm_mm mm; } vram; + struct notifier_block vmap_notifier; struct shrinker shrinker; struct msm_vblank_ctrl vblank_ctrl; @@ -206,6 +207,7 @@ void msm_gem_put_vaddr_locked(struct drm_gem_object *obj); void msm_gem_put_vaddr(struct drm_gem_object *obj); int msm_gem_madvise(struct drm_gem_object *obj, unsigned madv); void msm_gem_purge(struct drm_gem_object *obj); +void msm_gem_vunmap(struct drm_gem_object *obj); int msm_gem_sync_object(struct drm_gem_object *obj, struct msm_fence_context *fctx, bool exclusive); void msm_gem_move_to_active(struct drm_gem_object *obj, |