From: Thomas Zimmermann <tzimmermann@suse.de>
To: maarten.lankhorst@linux.intel.com, mripard@kernel.org,
airlied@linux.ie, daniel@ffwll.ch, sean@poorly.run,
kraxel@redhat.com, emil.l.velikov@gmail.com, sam@ravnborg.org,
noralf@tronnes.org
Cc: Thomas Zimmermann <tzimmermann@suse.de>, dri-devel@lists.freedesktop.org
Subject: [PATCH v3 0/2] drm/udl: Map pages with SHMEM helpers
Date: Tue, 9 Jun 2020 11:08:18 +0200 [thread overview]
Message-ID: <20200609090820.20256-1-tzimmermann@suse.de> (raw)
Udl implments cached mappings. Convert it to SHMEM's default helpers.
This version contains only style fixes. I'm posting v3 mostly for reference
before merging.
v3:
* rebased onto Daniel's shmem untangle series
* style fixes
v2:
* keep writecombine mappings as the default
* add SHMEM helper for creating BOs with cached mappings
* update udl on the new helper
Thomas Zimmermann (2):
drm/shmem-helper: Add .gem_create_object helper that sets map_cached
flag
drm/udl: Use GEM vmap/mmap function from SHMEM helpers
drivers/gpu/drm/drm_gem_shmem_helper.c | 27 +++++++
drivers/gpu/drm/udl/Makefile | 2 +-
drivers/gpu/drm/udl/udl_drv.c | 4 +-
drivers/gpu/drm/udl/udl_drv.h | 3 -
drivers/gpu/drm/udl/udl_gem.c | 108 -------------------------
include/drm/drm_gem_shmem_helper.h | 4 +
6 files changed, 34 insertions(+), 114 deletions(-)
delete mode 100644 drivers/gpu/drm/udl/udl_gem.c
--
2.26.2
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2020-06-09 9:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-09 9:08 Thomas Zimmermann [this message]
2020-06-09 9:08 ` [PATCH v3 1/2] drm/shmem-helper: Add .gem_create_object helper that sets map_cached flag Thomas Zimmermann
2020-06-09 9:08 ` [PATCH v3 2/2] drm/udl: Use GEM vmap/mmap function from SHMEM helpers Thomas Zimmermann
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=20200609090820.20256-1-tzimmermann@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=emil.l.velikov@gmail.com \
--cc=kraxel@redhat.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=noralf@tronnes.org \
--cc=sam@ravnborg.org \
--cc=sean@poorly.run \
/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