linux/drivers/gpu/drm/udl
Thomas Zimmermann 08b22f65b3 drm/udl: Switch to SHMEM
Udl's GEM code and the generic SHMEM are almost identical. Replace
the former with SHMEM. The dmabuf support in udl is being replaced
with generic GEM PRIME functions.

The main difference is in the caching flags for mmap pages. By
default, SHMEM always sets (uncached) write combining. In udl's
memory management code, only imported buffers use write combining.
Memory pages of locally created buffer objects are mmap'ed with
caching enabled. To keep the optimization, udl provides its own
mmap function for GEM objects where it fixes up the mapping flags.

v3:
	- restore udl vmap that enables caching
v2:
	- remove obsolete code in a separate patch

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107094307.19870-4-tzimmermann@suse.de
2019-11-08 12:30:07 +01:00
..
Kconfig drm/udl: Switch to SHMEM 2019-11-08 12:30:07 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
udl_connector.c drm/connector: Share with non-atomic drivers the function to get the single encoder 2019-09-16 15:13:02 -07:00
udl_connector.h drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_dmabuf.c drm/udl: Remove flags field from struct udl_gem_object 2019-11-08 12:29:47 +01:00
udl_drv.c drm/udl: Switch to SHMEM 2019-11-08 12:30:07 +01:00
udl_drv.h drm/udl: Switch to SHMEM 2019-11-08 12:30:07 +01:00
udl_encoder.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_fb.c drm/udl: Switch to SHMEM 2019-11-08 12:30:07 +01:00
udl_gem.c drm/udl: Switch to SHMEM 2019-11-08 12:30:07 +01:00
udl_main.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_modeset.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_transfer.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00