[PATCH 0/2] drm/cma-helper: Move mmap to object functions
Thomas Zimmermann
tzimmermann at suse.de
Mon Nov 23 11:56:44 UTC 2020
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
More information about the dri-devel
mailing list