OpenCloudOS-Kernel/drivers/gpu/drm/pl111
Thomas Zimmermann f5ca8eb6f9 drm/cma-helper: Implement mmap as GEM CMA object functions
The new GEM object function drm_gem_cma_mmap() sets the VMA flags
and offset as in the old implementation and immediately maps in the
buffer's memory pages.

Changing CMA helpers to use the GEM object function allows for the
removal of the special implementations for mmap and gem_prime_mmap
callbacks. The regular functions drm_gem_mmap() and drm_gem_prime_mmap()
are now used.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201123115646.11004-3-tzimmermann@suse.de
2020-11-30 13:38:27 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drm: pl111: Move VExpress setup into versatile init 2020-04-28 14:06:20 -05:00
pl111_debugfs.c drm/pl111/pl111_debugfs: Make local function 'pl111_debugfs_regs()' static 2020-11-17 20:02:49 +01:00
pl111_display.c drm/pl111/pl111_display: Make local function static 2020-11-17 20:02:42 +01:00
pl111_drm.h drm: pl111: Absorb the external register header 2020-06-30 00:32:59 +02:00
pl111_drv.c drm/cma-helper: Implement mmap as GEM CMA object functions 2020-11-30 13:38:27 +01:00
pl111_nomadik.c drm/pl111: Support Nomadik LCDC variant 2018-07-01 21:36:47 +02:00
pl111_nomadik.h drm/pl111: drop use of drmP.h 2019-07-17 12:52:38 +02:00
pl111_versatile.c drm: pl111: Absorb the external register header 2020-06-30 00:32:59 +02:00
pl111_versatile.h drm/pl111: drop use of drmP.h 2019-07-17 12:52:38 +02:00