131 lines
3.9 KiB
Diff
131 lines
3.9 KiB
Diff
From: Ben Hutchings <ben@decadent.org.uk>
|
|
Date: Sat, 2 Jun 2012 19:53:38 +0100
|
|
Subject: video: Remove nvidiafb and rivafb
|
|
Bug-Debian: https://bugs.debian.org/383481
|
|
Forwarded: no
|
|
|
|
These drivers contain register programming code provided by the
|
|
hardware vendor that appears to have been deliberately obfuscated.
|
|
This is arguably not the preferred form for modification.
|
|
|
|
These drivers are also largely redundant with nouveau. The RIVA 128
|
|
(NV3) is not supported by nouveau but is about 15 years old and
|
|
probably discontinued 10 years ago.
|
|
|
|
---
|
|
--- a/drivers/video/fbdev/Kconfig
|
|
+++ b/drivers/video/fbdev/Kconfig
|
|
@@ -991,101 +991,6 @@ config FB_ATMEL_STN
|
|
help
|
|
This enables support for the AT91/AT32 LCD Controller.
|
|
|
|
-config FB_NVIDIA
|
|
- tristate "nVidia Framebuffer Support"
|
|
- depends on FB && PCI
|
|
- select FB_BACKLIGHT if FB_NVIDIA_BACKLIGHT
|
|
- select FB_MODE_HELPERS
|
|
- select FB_CFB_FILLRECT
|
|
- select FB_CFB_COPYAREA
|
|
- select FB_CFB_IMAGEBLIT
|
|
- select BITREVERSE
|
|
- select VGASTATE
|
|
- help
|
|
- This driver supports graphics boards with the nVidia chips, TNT
|
|
- and newer. For very old chipsets, such as the RIVA128, then use
|
|
- the rivafb.
|
|
- Say Y if you have such a graphics board.
|
|
-
|
|
- To compile this driver as a module, choose M here: the
|
|
- module will be called nvidiafb.
|
|
-
|
|
-config FB_NVIDIA_I2C
|
|
- bool "Enable DDC Support"
|
|
- depends on FB_NVIDIA
|
|
- select FB_DDC
|
|
- help
|
|
- This enables I2C support for nVidia Chipsets. This is used
|
|
- only for getting EDID information from the attached display
|
|
- allowing for robust video mode handling and switching.
|
|
-
|
|
- Because fbdev-2.6 requires that drivers must be able to
|
|
- independently validate video mode parameters, you should say Y
|
|
- here.
|
|
-
|
|
-config FB_NVIDIA_DEBUG
|
|
- bool "Lots of debug output"
|
|
- depends on FB_NVIDIA
|
|
- default n
|
|
- help
|
|
- Say Y here if you want the nVidia driver to output all sorts
|
|
- of debugging information to provide to the maintainer when
|
|
- something goes wrong.
|
|
-
|
|
-config FB_NVIDIA_BACKLIGHT
|
|
- bool "Support for backlight control"
|
|
- depends on FB_NVIDIA
|
|
- default y
|
|
- help
|
|
- Say Y here if you want to control the backlight of your display.
|
|
-
|
|
-config FB_RIVA
|
|
- tristate "nVidia Riva support"
|
|
- depends on FB && PCI
|
|
- select FB_BACKLIGHT if FB_RIVA_BACKLIGHT
|
|
- select FB_MODE_HELPERS
|
|
- select FB_CFB_FILLRECT
|
|
- select FB_CFB_COPYAREA
|
|
- select FB_CFB_IMAGEBLIT
|
|
- select BITREVERSE
|
|
- select VGASTATE
|
|
- help
|
|
- This driver supports graphics boards with the nVidia Riva/Geforce
|
|
- chips.
|
|
- Say Y if you have such a graphics board.
|
|
-
|
|
- To compile this driver as a module, choose M here: the
|
|
- module will be called rivafb.
|
|
-
|
|
-config FB_RIVA_I2C
|
|
- bool "Enable DDC Support"
|
|
- depends on FB_RIVA
|
|
- select FB_DDC
|
|
- help
|
|
- This enables I2C support for nVidia Chipsets. This is used
|
|
- only for getting EDID information from the attached display
|
|
- allowing for robust video mode handling and switching.
|
|
-
|
|
- Because fbdev-2.6 requires that drivers must be able to
|
|
- independently validate video mode parameters, you should say Y
|
|
- here.
|
|
-
|
|
-config FB_RIVA_DEBUG
|
|
- bool "Lots of debug output"
|
|
- depends on FB_RIVA
|
|
- default n
|
|
- help
|
|
- Say Y here if you want the Riva driver to output all sorts
|
|
- of debugging information to provide to the maintainer when
|
|
- something goes wrong.
|
|
-
|
|
-config FB_RIVA_BACKLIGHT
|
|
- bool "Support for backlight control"
|
|
- depends on FB_RIVA
|
|
- default y
|
|
- help
|
|
- Say Y here if you want to control the backlight of your display.
|
|
-
|
|
config FB_I740
|
|
tristate "Intel740 support"
|
|
depends on FB && PCI
|
|
--- a/drivers/video/fbdev/Makefile
|
|
+++ b/drivers/video/fbdev/Makefile
|
|
@@ -22,8 +22,6 @@ obj-$(CONFIG_FB_PM3) += pm3fb.o
|
|
|
|
obj-$(CONFIG_FB_I740) += i740fb.o
|
|
obj-$(CONFIG_FB_MATROX) += matrox/
|
|
-obj-$(CONFIG_FB_RIVA) += riva/
|
|
-obj-$(CONFIG_FB_NVIDIA) += nvidia/
|
|
obj-$(CONFIG_FB_ATY) += aty/ macmodes.o
|
|
obj-$(CONFIG_FB_ATY128) += aty/ macmodes.o
|
|
obj-$(CONFIG_FB_RADEON) += aty/
|