diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-11-27 16:16:01 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-11-29 14:20:53 +0300 |
commit | 8813e86f6d82a7931446c3cbc5d596f77d0f1ba6 (patch) | |
tree | 63ffd0e6dd822873b50eac67e6c0e59add7e9c93 /drivers/video/fbdev/core/Kconfig | |
parent | b3e8813773c568fd2d65e9752abfda27442e502e (diff) | |
download | linux-8813e86f6d82a7931446c3cbc5d596f77d0f1ba6.tar.xz |
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 'drivers/video/fbdev/core/Kconfig')
-rw-r--r-- | drivers/video/fbdev/core/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/core/Kconfig b/drivers/video/fbdev/core/Kconfig index faab5d50cac3..21053bf00dc5 100644 --- a/drivers/video/fbdev/core/Kconfig +++ b/drivers/video/fbdev/core/Kconfig @@ -4,7 +4,6 @@ # config FB_CORE - select FB_IOMEM_FOPS select VIDEO_CMDLINE tristate |