aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-11-27 13:15:59 +0000
committerThomas Zimmermann <[email protected]>2023-11-29 11:20:49 +0000
commit33253d9e01d40542f07aaf718a655893cd2949e5 (patch)
treef3f0873961e38878d426484fbaa62325ffe0bb36 /drivers/gpu/drm/omapdrm/omap_gem.c
parentfbdev: Push pgprot_decrypted() into mmap implementations (diff)
downloadkernel-33253d9e01d40542f07aaf718a655893cd2949e5.tar.gz
kernel-33253d9e01d40542f07aaf718a655893cd2949e5.zip
fbdev: Move default fb_mmap code into helper function
Move the default fb_mmap code for I/O address spaces into the helper function fb_io_mmap(). The helper can either be called via struct fb_ops.fb_mmap or as the default if no fb_mmap has been set. Also set the new helper in __FB_DEFAULT_IOMEM_OPS_MMAP. In the mid-term, fb_io_mmap() is supposed to become optional. Fbdev drivers will initialize their struct fb_ops.fb_mmap to the helper and select a corresponding Kconfig token. The helper can then be made optional at compile time. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions