Commit 71fc3249 authored by Thomas Zimmermann's avatar Thomas Zimmermann

video/nomodeset: Select nomodeset= parameter with CONFIG_VIDEO

Enable support for nomodeset= parameter via CONFIG_VIDEO. Both,
DRM and fbdev, already select this option. Remove the existing
option CONFIG_VIDEO_NOMODESET. Simplifies the Kconfig rules.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20240118090721.7995-4-tzimmermann@suse.de
parent 55ea87a4
...@@ -20,7 +20,6 @@ menuconfig DRM ...@@ -20,7 +20,6 @@ menuconfig DRM
# device and dmabuf fd. Let's make sure that is available for our userspace. # device and dmabuf fd. Let's make sure that is available for our userspace.
select KCMP select KCMP
select VIDEO select VIDEO
select VIDEO_NOMODESET
help help
Kernel-level support for the Direct Rendering Infrastructure (DRI) Kernel-level support for the Direct Rendering Infrastructure (DRI)
introduced in XFree86 4.0. If you say Y here, you need to select introduced in XFree86 4.0. If you say Y here, you need to select
......
...@@ -6,7 +6,6 @@ config FB_SM750 ...@@ -6,7 +6,6 @@ config FB_SM750
select FB_CFB_FILLRECT select FB_CFB_FILLRECT
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select VIDEO_NOMODESET
help help
Frame buffer driver for the Silicon Motion SM750 chip Frame buffer driver for the Silicon Motion SM750 chip
with 2D acceleration and dual head support. with 2D acceleration and dual head support.
......
...@@ -22,10 +22,6 @@ config VIDEO ...@@ -22,10 +22,6 @@ config VIDEO
bool bool
default n default n
config VIDEO_NOMODESET
bool
default n
source "drivers/auxdisplay/Kconfig" source "drivers/auxdisplay/Kconfig"
if HAS_IOMEM if HAS_IOMEM
......
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
obj-$(CONFIG_APERTURE_HELPERS) += aperture.o obj-$(CONFIG_APERTURE_HELPERS) += aperture.o
obj-$(CONFIG_STI_CORE) += sticore.o obj-$(CONFIG_STI_CORE) += sticore.o
obj-$(CONFIG_VGASTATE) += vgastate.o obj-$(CONFIG_VGASTATE) += vgastate.o
obj-$(CONFIG_VIDEO) += cmdline.o obj-$(CONFIG_VIDEO) += cmdline.o nomodeset.o
obj-$(CONFIG_VIDEO_NOMODESET) += nomodeset.o
obj-$(CONFIG_HDMI) += hdmi.o obj-$(CONFIG_HDMI) += hdmi.o
obj-$(CONFIG_VT) += console/ obj-$(CONFIG_VT) += console/
......
...@@ -75,7 +75,6 @@ config FB_CIRRUS ...@@ -75,7 +75,6 @@ config FB_CIRRUS
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select VIDEO_NOMODESET
help help
This enables support for Cirrus Logic GD542x/543x based boards on This enables support for Cirrus Logic GD542x/543x based boards on
Amiga: SD64, Piccolo, Picasso II/II+, Picasso IV, or EGS Spectrum. Amiga: SD64, Piccolo, Picasso II/II+, Picasso IV, or EGS Spectrum.
...@@ -95,7 +94,6 @@ config FB_PM2 ...@@ -95,7 +94,6 @@ config FB_PM2
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select VIDEO_NOMODESET
help help
This is the frame buffer device driver for cards based on This is the frame buffer device driver for cards based on
the 3D Labs Permedia, Permedia 2 and Permedia 2V chips. the 3D Labs Permedia, Permedia 2 and Permedia 2V chips.
...@@ -179,7 +177,6 @@ config FB_CYBER2000 ...@@ -179,7 +177,6 @@ config FB_CYBER2000
tristate "CyberPro 2000/2010/5000 support" tristate "CyberPro 2000/2010/5000 support"
depends on FB && PCI && (BROKEN || !SPARC64) depends on FB && PCI && (BROKEN || !SPARC64)
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
This enables support for the Integraphics CyberPro 20x0 and 5000 This enables support for the Integraphics CyberPro 20x0 and 5000
VGA chips used in the Rebel.com Netwinder and other machines. VGA chips used in the Rebel.com Netwinder and other machines.
...@@ -330,7 +327,6 @@ config FB_CT65550 ...@@ -330,7 +327,6 @@ config FB_CT65550
bool "Chips 65550 display support" bool "Chips 65550 display support"
depends on (FB = y) && PPC32 && PCI depends on (FB = y) && PPC32 && PCI
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
This is the frame buffer device driver for the Chips & Technologies This is the frame buffer device driver for the Chips & Technologies
65550 graphics chip in PowerBooks. 65550 graphics chip in PowerBooks.
...@@ -339,7 +335,6 @@ config FB_ASILIANT ...@@ -339,7 +335,6 @@ config FB_ASILIANT
bool "Asiliant (Chips) 69000 display support" bool "Asiliant (Chips) 69000 display support"
depends on (FB = y) && PCI depends on (FB = y) && PCI
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
This is the frame buffer device driver for the Asiliant 69030 chipset This is the frame buffer device driver for the Asiliant 69030 chipset
...@@ -349,7 +344,6 @@ config FB_IMSTT ...@@ -349,7 +344,6 @@ config FB_IMSTT
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_MACMODES if PPC_PMAC select FB_MACMODES if PPC_PMAC
select VIDEO_NOMODESET
help help
The IMS Twin Turbo is a PCI-based frame buffer card bundled with The IMS Twin Turbo is a PCI-based frame buffer card bundled with
many Macintosh and compatible computers. many Macintosh and compatible computers.
...@@ -414,7 +408,6 @@ config FB_TGA ...@@ -414,7 +408,6 @@ config FB_TGA
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select VIDEO_NOMODESET
help help
This is the frame buffer device driver for generic TGA and SFB+ This is the frame buffer device driver for generic TGA and SFB+
graphic cards. These include DEC ZLXp-E1, -E2 and -E3 PCI cards, graphic cards. These include DEC ZLXp-E1, -E2 and -E3 PCI cards,
...@@ -591,7 +584,6 @@ config FB_XVR500 ...@@ -591,7 +584,6 @@ config FB_XVR500
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select VIDEO_NOMODESET
help help
This is the framebuffer device for the Sun XVR-500 and similar This is the framebuffer device for the Sun XVR-500 and similar
graphics cards based upon the 3DLABS Wildcat chipset. The driver graphics cards based upon the 3DLABS Wildcat chipset. The driver
...@@ -603,7 +595,6 @@ config FB_XVR2500 ...@@ -603,7 +595,6 @@ config FB_XVR2500
bool "Sun XVR-2500 3DLABS Wildcat support" bool "Sun XVR-2500 3DLABS Wildcat support"
depends on (FB = y) && PCI && SPARC64 depends on (FB = y) && PCI && SPARC64
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
This is the framebuffer device for the Sun XVR-2500 and similar This is the framebuffer device for the Sun XVR-2500 and similar
graphics cards based upon the 3DLABS Wildcat chipset. The driver graphics cards based upon the 3DLABS Wildcat chipset. The driver
...@@ -629,7 +620,6 @@ config FB_PVR2 ...@@ -629,7 +620,6 @@ config FB_PVR2
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select VIDEO_NOMODESET
help help
Say Y here if you have a PowerVR 2 card in your box. If you plan to Say Y here if you have a PowerVR 2 card in your box. If you plan to
run linux on your Dreamcast, you will have to say Y here. run linux on your Dreamcast, you will have to say Y here.
...@@ -692,7 +682,6 @@ config FB_NVIDIA ...@@ -692,7 +682,6 @@ config FB_NVIDIA
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select BITREVERSE select BITREVERSE
select VGASTATE select VGASTATE
select VIDEO_NOMODESET
help help
This driver supports graphics boards with the nVidia chips, TNT This driver supports graphics boards with the nVidia chips, TNT
and newer. For very old chipsets, such as the RIVA128, then use and newer. For very old chipsets, such as the RIVA128, then use
...@@ -741,7 +730,6 @@ config FB_RIVA ...@@ -741,7 +730,6 @@ config FB_RIVA
select FB_MODE_HELPERS select FB_MODE_HELPERS
select BITREVERSE select BITREVERSE
select VGASTATE select VGASTATE
select VIDEO_NOMODESET
help help
This driver supports graphics boards with the nVidia Riva/Geforce This driver supports graphics boards with the nVidia Riva/Geforce
chips. chips.
...@@ -784,7 +772,6 @@ config FB_I740 ...@@ -784,7 +772,6 @@ config FB_I740
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select FB_MODE_HELPERS select FB_MODE_HELPERS
select VGASTATE select VGASTATE
select VIDEO_NOMODESET
select FB_DDC select FB_DDC
help help
This driver supports graphics cards based on Intel740 chip. This driver supports graphics cards based on Intel740 chip.
...@@ -795,7 +782,6 @@ config FB_I810 ...@@ -795,7 +782,6 @@ config FB_I810
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_MODE_HELPERS select FB_MODE_HELPERS
select VGASTATE select VGASTATE
select VIDEO_NOMODESET
help help
This driver supports the on-board graphics built in to the Intel 810 This driver supports the on-board graphics built in to the Intel 810
and 815 chipsets. Say Y if you have and plan to use such a board. and 815 chipsets. Say Y if you have and plan to use such a board.
...@@ -844,7 +830,6 @@ config FB_LE80578 ...@@ -844,7 +830,6 @@ config FB_LE80578
depends on FB && PCI && X86 depends on FB && PCI && X86
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select FB_MODE_HELPERS select FB_MODE_HELPERS
select VIDEO_NOMODESET
help help
This driver supports the LE80578 (Vermilion Range) chipset This driver supports the LE80578 (Vermilion Range) chipset
...@@ -863,7 +848,6 @@ config FB_INTEL ...@@ -863,7 +848,6 @@ config FB_INTEL
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_MODE_HELPERS select FB_MODE_HELPERS
select BOOT_VESA_SUPPORT if FB_INTEL = y select BOOT_VESA_SUPPORT if FB_INTEL = y
select VIDEO_NOMODESET
depends on !DRM_I915 depends on !DRM_I915
help help
This driver supports the on-board graphics built in to the Intel This driver supports the on-board graphics built in to the Intel
...@@ -902,7 +886,6 @@ config FB_MATROX ...@@ -902,7 +886,6 @@ config FB_MATROX
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_TILEBLITTING select FB_TILEBLITTING
select FB_MACMODES if PPC_PMAC select FB_MACMODES if PPC_PMAC
select VIDEO_NOMODESET
help help
Say Y here if you have a Matrox Millennium, Matrox Millennium II, Say Y here if you have a Matrox Millennium, Matrox Millennium II,
Matrox Mystique, Matrox Mystique 220, Matrox Productiva G100, Matrox Matrox Mystique, Matrox Mystique 220, Matrox Productiva G100, Matrox
...@@ -1025,7 +1008,6 @@ config FB_RADEON ...@@ -1025,7 +1008,6 @@ config FB_RADEON
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_MACMODES if PPC select FB_MACMODES if PPC
select FB_MODE_HELPERS select FB_MODE_HELPERS
select VIDEO_NOMODESET
help help
Choose this option if you want to use an ATI Radeon graphics card as Choose this option if you want to use an ATI Radeon graphics card as
a framebuffer device. There are both PCI and AGP versions. You a framebuffer device. There are both PCI and AGP versions. You
...@@ -1063,7 +1045,6 @@ config FB_ATY128 ...@@ -1063,7 +1045,6 @@ config FB_ATY128
select FB_BACKLIGHT if FB_ATY128_BACKLIGHT select FB_BACKLIGHT if FB_ATY128_BACKLIGHT
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select FB_MACMODES if PPC_PMAC select FB_MACMODES if PPC_PMAC
select VIDEO_NOMODESET
help help
This driver supports graphics boards with the ATI Rage128 chips. This driver supports graphics boards with the ATI Rage128 chips.
Say Y if you have such a graphics board and read Say Y if you have such a graphics board and read
...@@ -1089,7 +1070,6 @@ config FB_ATY ...@@ -1089,7 +1070,6 @@ config FB_ATY
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_MACMODES if PPC select FB_MACMODES if PPC
select FB_ATY_CT if SPARC64 && PCI select FB_ATY_CT if SPARC64 && PCI
select VIDEO_NOMODESET
help help
This driver supports graphics boards with the ATI Mach64 chips. This driver supports graphics boards with the ATI Mach64 chips.
Say Y if you have such a graphics board. Say Y if you have such a graphics board.
...@@ -1141,7 +1121,6 @@ config FB_S3 ...@@ -1141,7 +1121,6 @@ config FB_S3
select FB_TILEBLITTING select FB_TILEBLITTING
select FB_SVGALIB select FB_SVGALIB
select VGASTATE select VGASTATE
select VIDEO_NOMODESET
select FONT_8x16 if FRAMEBUFFER_CONSOLE select FONT_8x16 if FRAMEBUFFER_CONSOLE
help help
Driver for graphics boards with S3 Trio / S3 Virge chip. Driver for graphics boards with S3 Trio / S3 Virge chip.
...@@ -1163,7 +1142,6 @@ config FB_SAVAGE ...@@ -1163,7 +1142,6 @@ config FB_SAVAGE
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_MODE_HELPERS select FB_MODE_HELPERS
select VGASTATE select VGASTATE
select VIDEO_NOMODESET
help help
This driver supports notebooks and computers with S3 Savage PCI/AGP This driver supports notebooks and computers with S3 Savage PCI/AGP
chips. chips.
...@@ -1203,7 +1181,6 @@ config FB_SIS ...@@ -1203,7 +1181,6 @@ config FB_SIS
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_SIS_300 if !FB_SIS_315 select FB_SIS_300 if !FB_SIS_315
select VIDEO_NOMODESET
help help
This is the frame buffer device driver for the SiS 300, 315, 330 This is the frame buffer device driver for the SiS 300, 315, 330
and 340 series as well as XGI V3XT, V5, V8, Z7 graphics chipsets. and 340 series as well as XGI V3XT, V5, V8, Z7 graphics chipsets.
...@@ -1234,7 +1211,6 @@ config FB_VIA ...@@ -1234,7 +1211,6 @@ config FB_VIA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select I2C_ALGOBIT select I2C_ALGOBIT
select VIDEO_NOMODESET
help help
This is the frame buffer device driver for Graphics chips of VIA This is the frame buffer device driver for Graphics chips of VIA
UniChrome (Pro) Family (CLE266,PM800/CN400,P4M800CE/P4M800Pro/ UniChrome (Pro) Family (CLE266,PM800/CN400,P4M800CE/P4M800Pro/
...@@ -1275,7 +1251,6 @@ config FB_NEOMAGIC ...@@ -1275,7 +1251,6 @@ config FB_NEOMAGIC
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_MODE_HELPERS select FB_MODE_HELPERS
select VGASTATE select VGASTATE
select VIDEO_NOMODESET
help help
This driver supports notebooks with NeoMagic PCI chips. This driver supports notebooks with NeoMagic PCI chips.
Say Y if you have such a graphics card. Say Y if you have such a graphics card.
...@@ -1287,7 +1262,6 @@ config FB_KYRO ...@@ -1287,7 +1262,6 @@ config FB_KYRO
tristate "IMG Kyro support" tristate "IMG Kyro support"
depends on FB && PCI depends on FB && PCI
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
Say Y here if you have a STG4000 / Kyro / PowerVR 3 based Say Y here if you have a STG4000 / Kyro / PowerVR 3 based
graphics board. graphics board.
...@@ -1303,7 +1277,6 @@ config FB_3DFX ...@@ -1303,7 +1277,6 @@ config FB_3DFX
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_MODE_HELPERS select FB_MODE_HELPERS
select VIDEO_NOMODESET
help help
This driver supports graphics boards with the 3Dfx Banshee, This driver supports graphics boards with the 3Dfx Banshee,
Voodoo3 or VSA-100 (aka Voodoo4/5) chips. Say Y if you have Voodoo3 or VSA-100 (aka Voodoo4/5) chips. Say Y if you have
...@@ -1332,7 +1305,6 @@ config FB_VOODOO1 ...@@ -1332,7 +1305,6 @@ config FB_VOODOO1
depends on FB && PCI depends on FB && PCI
depends on FB_DEVICE depends on FB_DEVICE
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
Say Y here if you have a 3Dfx Voodoo Graphics (Voodoo1/sst1) or Say Y here if you have a 3Dfx Voodoo Graphics (Voodoo1/sst1) or
Voodoo2 (cvg) based graphics card. Voodoo2 (cvg) based graphics card.
...@@ -1355,7 +1327,6 @@ config FB_VT8623 ...@@ -1355,7 +1327,6 @@ config FB_VT8623
select FB_TILEBLITTING select FB_TILEBLITTING
select FB_SVGALIB select FB_SVGALIB
select VGASTATE select VGASTATE
select VIDEO_NOMODESET
select FONT_8x16 if FRAMEBUFFER_CONSOLE select FONT_8x16 if FRAMEBUFFER_CONSOLE
help help
Driver for CastleRock integrated graphics core in the Driver for CastleRock integrated graphics core in the
...@@ -1370,7 +1341,6 @@ config FB_TRIDENT ...@@ -1370,7 +1341,6 @@ config FB_TRIDENT
select FB_DDC select FB_DDC
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select FB_MODE_HELPERS select FB_MODE_HELPERS
select VIDEO_NOMODESET
help help
This is the frame buffer device driver for Trident PCI/AGP chipsets. This is the frame buffer device driver for Trident PCI/AGP chipsets.
Supported chipset families are TGUI 9440/96XX, 3DImage, Blade3D Supported chipset families are TGUI 9440/96XX, 3DImage, Blade3D
...@@ -1395,7 +1365,6 @@ config FB_ARK ...@@ -1395,7 +1365,6 @@ config FB_ARK
select FB_TILEBLITTING select FB_TILEBLITTING
select FB_SVGALIB select FB_SVGALIB
select VGASTATE select VGASTATE
select VIDEO_NOMODESET
select FONT_8x16 if FRAMEBUFFER_CONSOLE select FONT_8x16 if FRAMEBUFFER_CONSOLE
help help
Driver for PCI graphics boards with ARK 2000PV chip Driver for PCI graphics boards with ARK 2000PV chip
...@@ -1408,7 +1377,6 @@ config FB_PM3 ...@@ -1408,7 +1377,6 @@ config FB_PM3
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_IOMEM_FOPS select FB_IOMEM_FOPS
select VIDEO_NOMODESET
help help
This is the frame buffer device driver for the 3DLabs Permedia3 This is the frame buffer device driver for the 3DLabs Permedia3
chipset, used in Formac ProFormance III, 3DLabs Oxygen VX1 & chipset, used in Formac ProFormance III, 3DLabs Oxygen VX1 &
...@@ -1419,7 +1387,6 @@ config FB_CARMINE ...@@ -1419,7 +1387,6 @@ config FB_CARMINE
tristate "Fujitsu carmine frame buffer support" tristate "Fujitsu carmine frame buffer support"
depends on FB && PCI depends on FB && PCI
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
This is the frame buffer device driver for the Fujitsu Carmine chip. This is the frame buffer device driver for the Fujitsu Carmine chip.
The driver provides two independent frame buffer devices. The driver provides two independent frame buffer devices.
...@@ -1701,7 +1668,6 @@ config FB_IBM_GXT4500 ...@@ -1701,7 +1668,6 @@ config FB_IBM_GXT4500
tristate "Framebuffer support for IBM GXT4000P/4500P/6000P/6500P adaptors" tristate "Framebuffer support for IBM GXT4000P/4500P/6000P/6500P adaptors"
depends on FB depends on FB
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
Say Y here to enable support for the IBM GXT4000P/6000P and Say Y here to enable support for the IBM GXT4000P/6000P and
GXT4500P/6500P display adaptor based on Raster Engine RC1000, GXT4500P/6500P display adaptor based on Raster Engine RC1000,
...@@ -1819,7 +1785,6 @@ config FB_MB862XX ...@@ -1819,7 +1785,6 @@ config FB_MB862XX
depends on FB depends on FB
depends on PCI || (OF && PPC) depends on PCI || (OF && PPC)
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
Frame buffer driver for Fujitsu Carmine/Coral-P(A)/Lime controllers. Frame buffer driver for Fujitsu Carmine/Coral-P(A)/Lime controllers.
...@@ -1885,7 +1850,6 @@ config FB_HYPERV ...@@ -1885,7 +1850,6 @@ config FB_HYPERV
depends on FB && HYPERV depends on FB && HYPERV
select DMA_CMA if HAVE_DMA_CONTIGUOUS && CMA select DMA_CMA if HAVE_DMA_CONTIGUOUS && CMA
select FB_IOMEM_HELPERS_DEFERRED select FB_IOMEM_HELPERS_DEFERRED
select VIDEO_NOMODESET
help help
This framebuffer driver supports Microsoft Hyper-V Synthetic Video. This framebuffer driver supports Microsoft Hyper-V Synthetic Video.
...@@ -1919,7 +1883,6 @@ config FB_SM712 ...@@ -1919,7 +1883,6 @@ config FB_SM712
tristate "Silicon Motion SM712 framebuffer support" tristate "Silicon Motion SM712 framebuffer support"
depends on FB && PCI depends on FB && PCI
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
Frame buffer driver for the Silicon Motion SM710, SM712, SM721 Frame buffer driver for the Silicon Motion SM710, SM712, SM721
and SM722 chips. and SM722 chips.
......
...@@ -645,7 +645,6 @@ int fb_new_modelist(struct fb_info *info) ...@@ -645,7 +645,6 @@ int fb_new_modelist(struct fb_info *info)
return 0; return 0;
} }
#if defined(CONFIG_VIDEO_NOMODESET)
bool fb_modesetting_disabled(const char *drvname) bool fb_modesetting_disabled(const char *drvname)
{ {
bool fwonly = video_firmware_drivers_only(); bool fwonly = video_firmware_drivers_only();
...@@ -657,6 +656,5 @@ bool fb_modesetting_disabled(const char *drvname) ...@@ -657,6 +656,5 @@ bool fb_modesetting_disabled(const char *drvname)
return fwonly; return fwonly;
} }
EXPORT_SYMBOL(fb_modesetting_disabled); EXPORT_SYMBOL(fb_modesetting_disabled);
#endif
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -14,7 +14,6 @@ config FB_GEODE_LX ...@@ -14,7 +14,6 @@ config FB_GEODE_LX
tristate "AMD Geode LX framebuffer support" tristate "AMD Geode LX framebuffer support"
depends on FB && FB_GEODE depends on FB && FB_GEODE
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
Framebuffer driver for the display controller integrated into the Framebuffer driver for the display controller integrated into the
AMD Geode LX processors. AMD Geode LX processors.
...@@ -28,7 +27,6 @@ config FB_GEODE_GX ...@@ -28,7 +27,6 @@ config FB_GEODE_GX
tristate "AMD Geode GX framebuffer support" tristate "AMD Geode GX framebuffer support"
depends on FB && FB_GEODE depends on FB && FB_GEODE
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
Framebuffer driver for the display controller integrated into the Framebuffer driver for the display controller integrated into the
AMD Geode GX processors. AMD Geode GX processors.
...@@ -42,7 +40,6 @@ config FB_GEODE_GX1 ...@@ -42,7 +40,6 @@ config FB_GEODE_GX1
tristate "AMD Geode GX1 framebuffer support" tristate "AMD Geode GX1 framebuffer support"
depends on FB && FB_GEODE depends on FB && FB_GEODE
select FB_IOMEM_HELPERS select FB_IOMEM_HELPERS
select VIDEO_NOMODESET
help help
Framebuffer driver for the display controller integrated into the Framebuffer driver for the display controller integrated into the
AMD Geode GX1 processor. AMD Geode GX1 processor.
......
...@@ -840,14 +840,7 @@ extern int fb_find_mode(struct fb_var_screeninfo *var, ...@@ -840,14 +840,7 @@ extern int fb_find_mode(struct fb_var_screeninfo *var,
const struct fb_videomode *default_mode, const struct fb_videomode *default_mode,
unsigned int default_bpp); unsigned int default_bpp);
#if defined(CONFIG_VIDEO_NOMODESET)
bool fb_modesetting_disabled(const char *drvname); bool fb_modesetting_disabled(const char *drvname);
#else
static inline bool fb_modesetting_disabled(const char *drvname)
{
return false;
}
#endif
/* /*
* Convenience logging macros * Convenience logging macros
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment