Skip to content
Commit 510410bf authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Rob Clark
Browse files

drm/msm: 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 msm functions are being removed. The file_operations
structure fops is now being created by the helper macro
DEFINE_DRM_GEM_FOPS().

v2:
	* rebase onto latest upstream
	* remove declaration of msm_gem_mmap_obj() from msm_fbdev.c

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20210706084753.8194-1-tzimmermann@suse.de


[squash in missing VM_DONTEXPAND flag]
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 840d10b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment