mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
synced 2025-09-26 18:38:20 +10:00
Handle the command-line parameter video= in video/cmdline.c. Implement the fbdev helper fb_get_options() on top. Will allows to handle the kernel parameter in DRM without fbdev dependencies. Note that __video_get_options() has the meaning of its return value inverted compared to fb_get_options(). The new helper returns true if the adapter has been enabled, and false otherwise. There is the ofonly parameter, which disables output for non-OF-based framebuffers. It is only for offb and looks like a workaround. The actual purpose it not clear to me. Use 'video=off' or 'nomodeset' instead. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230209135509.7786-9-tzimmermann@suse.de
28 lines
1017 B
Makefile
28 lines
1017 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_FB_NOTIFY) += fb_notify.o
|
|
obj-$(CONFIG_FB) += fb.o
|
|
fb-y := fbmem.o fbmon.o fbcmap.o fbsysfs.o \
|
|
modedb.o fbcvt.o fb_cmdline.o
|
|
fb-$(CONFIG_FB_DEFERRED_IO) += fb_defio.o
|
|
|
|
ifeq ($(CONFIG_FRAMEBUFFER_CONSOLE),y)
|
|
fb-y += fbcon.o bitblit.o softcursor.o
|
|
ifeq ($(CONFIG_FB_TILEBLITTING),y)
|
|
fb-y += tileblit.o
|
|
endif
|
|
ifeq ($(CONFIG_FRAMEBUFFER_CONSOLE_ROTATION),y)
|
|
fb-y += fbcon_rotate.o fbcon_cw.o fbcon_ud.o \
|
|
fbcon_ccw.o
|
|
endif
|
|
endif
|
|
|
|
obj-$(CONFIG_FB_CFB_FILLRECT) += cfbfillrect.o
|
|
obj-$(CONFIG_FB_CFB_COPYAREA) += cfbcopyarea.o
|
|
obj-$(CONFIG_FB_CFB_IMAGEBLIT) += cfbimgblt.o
|
|
obj-$(CONFIG_FB_SYS_FILLRECT) += sysfillrect.o
|
|
obj-$(CONFIG_FB_SYS_COPYAREA) += syscopyarea.o
|
|
obj-$(CONFIG_FB_SYS_IMAGEBLIT) += sysimgblt.o
|
|
obj-$(CONFIG_FB_SYS_FOPS) += fb_sys_fops.o
|
|
obj-$(CONFIG_FB_SVGALIB) += svgalib.o
|
|
obj-$(CONFIG_FB_DDC) += fb_ddc.o
|