From: Rob Clark <robdclark@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: Archit Taneja <architt@codeaurora.org>,
freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org,
Rob Clark <robdclark@gmail.com>
Subject: [PATCH 00/10] drm/msm: some stuff I'm working on for 4.8
Date: Thu, 16 Jun 2016 17:22:25 -0400 [thread overview]
Message-ID: <1466112155-25061-1-git-send-email-robdclark@gmail.com> (raw)
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
next reply other threads:[~2016-06-16 21:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-16 21:22 Rob Clark [this message]
2016-06-16 21:22 ` [PATCH 01/10] drm/msm: use mutex_lock_interruptible for submit ioctl Rob Clark
2016-06-16 21:22 ` [PATCH 02/10] drm/msm: add madvise ioctl Rob Clark
2016-06-16 21:22 ` [PATCH 03/10] drm/msm: add put_iova() helper Rob Clark
2016-06-16 21:22 ` [PATCH 04/10] drm/msm: shrinker support Rob Clark
[not found] ` <1466112155-25061-1-git-send-email-robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-16 21:22 ` [PATCH 05/10] drm/msm: change gem->vmap() to get/put Rob Clark
2016-06-16 21:22 ` [PATCH 06/10] drm/msm: wire up vmap shrinker Rob Clark
2016-06-16 21:22 ` [PATCH 07/10] drm/msm: deal with arbitrary # of cmd buffers Rob Clark
2016-06-16 21:22 ` [PATCH 08/10] drm/msm: bump kernel api version Rob Clark
2016-06-16 21:22 ` [PATCH 09/10] drm/msm/rd: split out snapshot_buf helper Rob Clark
2016-06-16 21:22 ` [PATCH 10/10] drm/msm/rd: add module param to dump all bo's Rob Clark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1466112155-25061-1-git-send-email-robdclark@gmail.com \
--to=robdclark@gmail.com \
--cc=architt@codeaurora.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=linux-arm-msm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.