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)
commit2043e6f6d5c5fb037c6459e2aa54b1c034c6759d
tree822e778168b74cff3cb05329af4db4cacbd1337f
parentee6c8b5afa62f4227174c68f1db75fe775c68328
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