aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-11-27 13:16:01 +0000
committerThomas Zimmermann <[email protected]>2023-11-29 11:20:53 +0000
commit8813e86f6d82a7931446c3cbc5d596f77d0f1ba6 (patch)
tree63ffd0e6dd822873b50eac67e6c0e59add7e9c93 /drivers/gpu/drm/omapdrm/omap_gem.c
parentfbdev: Warn on incorrect framebuffer access (diff)
downloadkernel-8813e86f6d82a7931446c3cbc5d596f77d0f1ba6.tar.gz
kernel-8813e86f6d82a7931446c3cbc5d596f77d0f1ba6.zip
fbdev: Remove default file-I/O implementations
Drop the default implementations for file read, write and mmap operations. Each fbdev driver must now provide an implementation and select any necessary helpers. If no implementation has been set, fbdev returns an errno code to user space. The code is the same as if the operation had not been set in the file_operations struct. This change makes the fbdev helpers for I/O memory optional. Most systems only use system-memory framebuffers via DRM's fbdev emulation. v2: * warn once if I/O callbacks are missing (Javier) 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