drm/msm: add madvise ioctl
authorRob Clark <robdclark@gmail.com>
Tue, 17 May 2016 19:44:49 +0000 (15:44 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Jul 2016 14:09:05 +0000 (10:09 -0400)
commit4cd33c48ea25ba17e9d0383fe914c3e58b48f7dd
treeae23f5e63db11ceaa819bf06546d603a8b236a1d
parentb5b4c264df4d270819676b290cef9a11d04c35f0
drm/msm: add madvise ioctl

Doesn't do anything too interesting until we wire up shrinker.  Pretty
much lifted from i915.

Signed-off-by: Rob Clark <robdclark@gmail.com>
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
include/uapi/drm/msm_drm.h