[PATCH 00/10] drm/msm: some stuff I'm working on for 4.8
Rob Clark
robdclark at gmail.com
Thu Jun 16 21:22:25 UTC 2016
Also working on fence-fd support for submit ioctl, but that is
depending on some other patches from Gustavo, and not so much
actually tested yet, so unlikely to be 4.8 material. But I'll
send an RFC at least in near future.
Main interesting thing here is, I think, shrinker. Currently
it is limited to purging madvise'd buffers (userspace bo cache)
and vmaps. Maybe someday I'll setup a swap partition and take
this further, but the more important things to solve in the
short term are keeping the userspace bo-cache from causing
problems on devices w/ less memory (<= 1G) and keeping vmap's
from being a problem on 32b systems.
Rob Clark (10):
drm/msm: use mutex_lock_interruptible for submit ioctl
drm/msm: add madvise ioctl
drm/msm: add put_iova() helper
drm/msm: shrinker support
drm/msm: change gem->vmap() to get/put
drm/msm: wire up vmap shrinker
drm/msm: deal with arbitrary # of cmd buffers
drm/msm: bump kernel api version
drm/msm/rd: split out snapshot_buf helper
drm/msm/rd: add module param to dump all bo's
drivers/gpu/drm/msm/Makefile | 1 +
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 6 +-
drivers/gpu/drm/msm/dsi/dsi_host.c | 5 +-
drivers/gpu/drm/msm/msm_drv.c | 59 ++++++++++-
drivers/gpu/drm/msm/msm_drv.h | 17 +++-
drivers/gpu/drm/msm/msm_fbdev.c | 3 +-
drivers/gpu/drm/msm/msm_gem.c | 131 ++++++++++++++++++++++---
drivers/gpu/drm/msm/msm_gem.h | 23 ++++-
drivers/gpu/drm/msm/msm_gem_prime.c | 4 +-
drivers/gpu/drm/msm/msm_gem_shrinker.c | 168 ++++++++++++++++++++++++++++++++
drivers/gpu/drm/msm/msm_gem_submit.c | 26 +++--
drivers/gpu/drm/msm/msm_rd.c | 66 ++++++++++---
drivers/gpu/drm/msm/msm_ringbuffer.c | 6 +-
include/uapi/drm/msm_drm.h | 25 ++++-
14 files changed, 485 insertions(+), 55 deletions(-)
create mode 100644 drivers/gpu/drm/msm/msm_gem_shrinker.c
--
2.5.5
More information about the dri-devel
mailing list