93604a5ade
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
20 lines
582 B
Makefile
20 lines
582 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_APERTURE_HELPERS) += aperture.o
|
|
obj-$(CONFIG_VGASTATE) += vgastate.o
|
|
obj-$(CONFIG_VIDEO_CMDLINE) += cmdline.o
|
|
obj-$(CONFIG_VIDEO_NOMODESET) += nomodeset.o
|
|
obj-$(CONFIG_HDMI) += hdmi.o
|
|
|
|
obj-$(CONFIG_VT) += console/
|
|
obj-$(CONFIG_FB_STI) += console/
|
|
obj-$(CONFIG_LOGO) += logo/
|
|
obj-y += backlight/
|
|
|
|
obj-y += fbdev/
|
|
|
|
obj-$(CONFIG_VIDEOMODE_HELPERS) += display_timing.o videomode.o
|
|
ifeq ($(CONFIG_OF),y)
|
|
obj-$(CONFIG_VIDEOMODE_HELPERS) += of_display_timing.o of_videomode.o
|
|
endif
|