Messages in this thread |  | | From | Paul Cercueil <> | Subject | [PATCH v4 0/3] Add option to mmap GEM buffers cached | Date | Sat, 15 May 2021 15:53:56 +0100 |
| |
Rework of this morning's v3 patchset.
The drm_gem_cma_prime_mmap() function that was added in v3 is now replaced, instead we pass a "private" parameter to the __drm_gem_cma_create() function.
Patches 2/3 and 3/3 are unmodified since v3.
Cheers, -Paul
Paul Cercueil (3): drm: Add support for GEM buffers backed by non-coherent memory drm: Add and export function drm_gem_cma_sync_data drm/ingenic: Add option to alloc cached GEM buffers
drivers/gpu/drm/drm_gem_cma_helper.c | 93 ++++++++++++++++++++--- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 56 +++++++++++++- drivers/gpu/drm/ingenic/ingenic-ipu.c | 18 ++++- include/drm/drm_gem_cma_helper.h | 8 ++ 4 files changed, 160 insertions(+), 15 deletions(-)
-- 2.30.2
|  |