]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: Implement mmap as GEM object function
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 8 Nov 2021 10:28:44 +0000 (11:28 +0100)
committerInki Dae <inki.dae@samsung.com>
Wed, 22 Dec 2021 02:39:39 +0000 (11:39 +0900)
commit88d055ab063aa3e49aefdb7441ed2b3e01fad324
tree822e778168b74cff3cb05329af4db4cacbd1337f
parentba71f264941cc49235e48551121eeee5b457738f
drm/exynos: Implement mmap as GEM object function

Moving the driver-specific mmap code into a GEM object function allows
for using DRM helpers for various mmap callbacks.

The respective exynos functions are being removed. The file_operations
structure exynos_drm_driver_fops is now being created by the helper macro
DEFINE_DRM_GEM_FOPS().

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixed merge conflict.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
drivers/gpu/drm/exynos/exynos_drm_gem.c
drivers/gpu/drm/exynos/exynos_drm_gem.h