Skip to content

Commit 3b99ee5

Browse files
committed
fbdev: Add Kconfig options to select different fb_ops helpers
Many fbdev drivers use the same set of fb_ops helpers. Add Kconfig options to select them at once. This will help with making DRM's fbdev emulation code more modular, but can also be used to simplify fbdev's driver configs. v3: * fix select statement (Jingfeng) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230530151228.22979-2-tzimmermann@suse.de
1 parent 3367575 commit 3b99ee5

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

drivers/video/fbdev/Kconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,27 @@ config FB_DEFERRED_IO
158158
bool
159159
depends on FB
160160

161+
config FB_IO_HELPERS
162+
bool
163+
depends on FB
164+
select FB_CFB_COPYAREA
165+
select FB_CFB_FILLRECT
166+
select FB_CFB_IMAGEBLIT
167+
168+
config FB_SYS_HELPERS
169+
bool
170+
depends on FB
171+
select FB_SYS_COPYAREA
172+
select FB_SYS_FILLRECT
173+
select FB_SYS_FOPS
174+
select FB_SYS_IMAGEBLIT
175+
176+
config FB_SYS_HELPERS_DEFERRED
177+
bool
178+
depends on FB
179+
select FB_DEFERRED_IO
180+
select FB_SYS_HELPERS
181+
161182
config FB_HECUBA
162183
tristate
163184
depends on FB

0 commit comments

Comments
 (0)