From: "Noralf Trønnes" <noralf@tronnes.org>
To: dri-devel@lists.freedesktop.org
Cc: david@lechnology.com, intel-gfx@lists.freedesktop.org,
sam@ravnborg.org, christian.koenig@amd.com
Subject: [PATCH 0/5] drm/gem: Add drm_gem_object_funcs
Date: Sat, 10 Nov 2018 15:56:42 +0100 [thread overview]
Message-ID: <20181110145647.17580-1-noralf@tronnes.org> (raw)
This patchset adds a GEM object function table and makes use of it in
the CMA helper.
This was originally part of a shmem helper series[1] that didn't make
it. Daniel and Christian showed interest in the vtable part so I have
hooked it up to some refactoring in tinydrm in order to have a user. The
tinydrm refactoring is part of a long term plan to get rid of
tinydrm.ko.
Noralf.
[1] https://patchwork.freedesktop.org/series/27184/
Noralf Trønnes (5):
drm/driver: Add defaults for .gem_prime_export/import callbacks
drm/prime: Add drm_gem_prime_mmap()
drm/gem: Add drm_gem_object_funcs
drm/cma-helper: Add DRM_GEM_CMA_VMAP_DRIVER_OPS
drm/tinydrm: Use DRM_GEM_CMA_VMAP_DRIVER_OPS
Documentation/gpu/todo.rst | 13 +++
drivers/gpu/drm/drm_client.c | 12 +--
drivers/gpu/drm/drm_gem.c | 109 ++++++++++++++++++--
drivers/gpu/drm/drm_gem_cma_helper.c | 86 ++++++++++++++++
drivers/gpu/drm/drm_prime.c | 79 +++++++++++----
drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 71 --------------
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 6 ++
drivers/gpu/drm/tinydrm/hx8357d.c | 4 +-
drivers/gpu/drm/tinydrm/ili9225.c | 5 +-
drivers/gpu/drm/tinydrm/ili9341.c | 4 +-
drivers/gpu/drm/tinydrm/mi0283qt.c | 6 +-
drivers/gpu/drm/tinydrm/mipi-dbi.c | 10 +-
drivers/gpu/drm/tinydrm/repaper.c | 4 +-
drivers/gpu/drm/tinydrm/st7586.c | 5 +-
drivers/gpu/drm/tinydrm/st7735r.c | 4 +-
include/drm/drm_drv.h | 4 +
include/drm/drm_gem.h | 131 +++++++++++++++++++++++++
include/drm/drm_gem_cma_helper.h | 24 +++++
include/drm/drm_prime.h | 1 +
include/drm/tinydrm/tinydrm.h | 35 ++-----
20 files changed, 462 insertions(+), 151 deletions(-)
--
2.15.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2018-11-10 14:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-10 14:56 Noralf Trønnes [this message]
2018-11-10 14:56 ` [PATCH 1/5] drm/driver: Add defaults for .gem_prime_export/import callbacks Noralf Trønnes
2018-11-10 14:56 ` [PATCH 2/5] drm/prime: Add drm_gem_prime_mmap() Noralf Trønnes
2018-11-10 14:56 ` [PATCH 3/5] drm/gem: Add drm_gem_object_funcs Noralf Trønnes
2018-11-10 14:56 ` [PATCH 4/5] drm/cma-helper: Add DRM_GEM_CMA_VMAP_DRIVER_OPS Noralf Trønnes
2018-11-16 21:35 ` Eric Anholt
2018-11-10 14:56 ` [PATCH 5/5] drm/tinydrm: Use DRM_GEM_CMA_VMAP_DRIVER_OPS Noralf Trønnes
2018-11-10 15:27 ` ✓ Fi.CI.BAT: success for drm/gem: Add drm_gem_object_funcs Patchwork
2018-11-10 16:39 ` ✓ Fi.CI.IGT: " Patchwork
2018-11-12 10:07 ` [PATCH 0/5] " Koenig, Christian
2018-11-20 14:15 ` Noralf Trønnes
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=20181110145647.17580-1-noralf@tronnes.org \
--to=noralf@tronnes.org \
--cc=christian.koenig@amd.com \
--cc=david@lechnology.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=sam@ravnborg.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox