All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/cma-helper: Move mmap to object functions
@ 2020-11-23 11:56 Thomas Zimmermann
  2020-11-23 11:56 ` [PATCH 1/2] drm/cma-helper: Remove prime infix from GEM " Thomas Zimmermann
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Thomas Zimmermann @ 2020-11-23 11:56 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, airlied, daniel, eric
  Cc: Thomas Zimmermann, dri-devel

This patchset moves CMA's mmap into a GEM object function. This change
allows for removing CMA's mmap and gem_prime_mmap callbacks in favor of
the default implementation.

Tested with vc4 on RPi3.

Thomas Zimmermann (2):
  drm/cma-helper: Remove prime infix from GEM object functions
  drm/cma-helper: Implement mmap as GEM CMA object functions

 drivers/gpu/drm/drm_file.c           |   3 +-
 drivers/gpu/drm/drm_gem_cma_helper.c | 141 +++++++++------------------
 drivers/gpu/drm/pl111/pl111_drv.c    |   2 +-
 drivers/gpu/drm/vc4/vc4_bo.c         |   6 +-
 include/drm/drm_gem_cma_helper.h     |  14 +--
 5 files changed, 58 insertions(+), 108 deletions(-)

--
2.29.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2021-01-15  8:16 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 11:56 [PATCH 0/2] drm/cma-helper: Move mmap to object functions Thomas Zimmermann
2020-11-23 11:56 ` [PATCH 1/2] drm/cma-helper: Remove prime infix from GEM " Thomas Zimmermann
2020-11-23 11:56 ` [PATCH 2/2] drm/cma-helper: Implement mmap as GEM CMA " Thomas Zimmermann
2021-01-14 12:51   ` Kieran Bingham
2021-01-14 12:51     ` Kieran Bingham
2021-01-14 13:26     ` Thomas Zimmermann
2021-01-14 13:26       ` Thomas Zimmermann
2021-01-14 14:34       ` Kieran Bingham
2021-01-14 14:34         ` Kieran Bingham
2021-01-14 15:15         ` Thomas Zimmermann
2021-01-14 15:15           ` Thomas Zimmermann
2021-01-14 16:28           ` Kieran Bingham
2021-01-14 16:28             ` Kieran Bingham
2021-01-15  8:15             ` Thomas Zimmermann
2021-01-15  8:15               ` Thomas Zimmermann
2021-01-14 17:19       ` Daniel Vetter
2021-01-14 17:19         ` Daniel Vetter
2020-11-23 12:32 ` [PATCH 0/2] drm/cma-helper: Move mmap to " Maxime Ripard
2020-11-23 18:58   ` Thomas Zimmermann

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.