dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/udl: Map pages with SHMEM helpers
@ 2020-05-19  8:04 Thomas Zimmermann
  2020-05-19  8:04 ` [PATCH v2 1/2] drm/shmem-helper: Add .gem_create_object helper that sets map_cached flag Thomas Zimmermann
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Thomas Zimmermann @ 2020-05-19  8:04 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, airlied, daniel, sean, kraxel,
	emil.l.velikov, sam
  Cc: Thomas Zimmermann, dri-devel

(was: Default to cachable mappings for GEM SHMEM)

Udl implments cached mappings. Convert it to SHMEM's default helpers.

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          | 106 -------------------------
 include/drm/drm_gem_shmem_helper.h     |   4 +
 6 files changed, 34 insertions(+), 112 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-21 12:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19  8:04 [PATCH v2 0/2] drm/udl: Map pages with SHMEM helpers Thomas Zimmermann
2020-05-19  8:04 ` [PATCH v2 1/2] drm/shmem-helper: Add .gem_create_object helper that sets map_cached flag Thomas Zimmermann
2020-05-19  8:04 ` [PATCH v2 2/2] drm/udl: Use GEM vmap/mmap function from SHMEM helpers Thomas Zimmermann
2020-05-21 12:17   ` Noralf Trønnes
2020-05-19 20:25 ` [PATCH v2 0/2] drm/udl: Map pages with " Emil Velikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).