summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/core/Kconfig
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-09-27 10:26:34 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2023-10-19 10:47:54 +0300
commit6b180f66c0dd6266eeb2f74b59ee79a9f14fe430 (patch)
tree95e2e0b724440c33220f7f7b9160168bc4b1b336 /drivers/video/fbdev/core/Kconfig
parent2d23e7d6bacb779c4a740dbd5e18978fb075d15e (diff)
downloadlinux-6b180f66c0dd6266eeb2f74b59ee79a9f14fe430.tar.xz
fbdev: Provide I/O-memory helpers as module
Provide helpers for accessing I/O memory in a helper module. The fbdev core uses these helpers, so select the module unconditionally for fbdev. Drivers will later be able to select the module individually and the helpers will become optional. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230927074722.6197-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/video/fbdev/core/Kconfig')
-rw-r--r--drivers/video/fbdev/core/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/fbdev/core/Kconfig b/drivers/video/fbdev/core/Kconfig
index e80d6429f76a..6017b7e54ede 100644
--- a/drivers/video/fbdev/core/Kconfig
+++ b/drivers/video/fbdev/core/Kconfig
@@ -4,6 +4,7 @@
#
config FB_CORE
+ select FB_IOMEM_FOPS
select VIDEO_CMDLINE
tristate
@@ -144,12 +145,17 @@ config FB_DMAMEM_HELPERS
select FB_SYS_FOPS
select FB_SYS_IMAGEBLIT
+config FB_IOMEM_FOPS
+ tristate
+ depends on FB_CORE
+
config FB_IOMEM_HELPERS
bool
depends on FB_CORE
select FB_CFB_COPYAREA
select FB_CFB_FILLRECT
select FB_CFB_IMAGEBLIT
+ select FB_IOMEM_FOPS
config FB_IOMEM_HELPERS_DEFERRED
bool