summaryrefslogtreecommitdiff
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-11-27 14:16:01 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2023-11-29 12:20:53 +0100
commit8813e86f6d82a7931446c3cbc5d596f77d0f1ba6 (patch)
tree63ffd0e6dd822873b50eac67e6c0e59add7e9c93 /Documentation/core-api
parentb3e8813773c568fd2d65e9752abfda27442e502e (diff)
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 <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231127131655.4020-33-tzimmermann@suse.de
Diffstat (limited to 'Documentation/core-api')
0 files changed, 0 insertions, 0 deletions