aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2010-12-31 00:56:50 -0500
committerPaul Mundt <lethal@linux-sh.org>2011-01-06 01:48:13 -0500
commit529ed806d4540d23ca2f68b28c3715d1566fc3ac (patch)
treeb8287b72e0a832496eb49fc77e17add713273c55 /drivers/video/Kconfig
parente045da7d835a28950543f5f10f0cb1905ca9bbaf (diff)
video: Fix the HGA framebuffer driver
Resurrected some old hardware and fixed up the hgafb driver to work again. Only tested with fbcon, since most fbdev-based software appears to only support 12bpp and up. It does not appear that this driver has worked for at least the entire 2.6.x series, perhaps since 2002. Hercules graphics hardware uses packed pixels horizontally, but rows are not linear. In other words, the pixels are not packed vertically. This means that custom imageblit, fillrect and copyarea need to be written specific to the hardware. * Removed the experimental acceleration option, since it is required for the hardware to work. * Fixed imageblit to work with fb_image's wider than 8 pixels. * Updated configuration text (HGA hardware is from 1984) Signed-off-by: Brent Cook <busterb@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r--drivers/video/Kconfig14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index e231041a5e33..fdddf58bdaf5 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -824,24 +824,14 @@ config FB_N411
824config FB_HGA 824config FB_HGA
825 tristate "Hercules mono graphics support" 825 tristate "Hercules mono graphics support"
826 depends on FB && X86 826 depends on FB && X86
827 select FB_CFB_FILLRECT
828 select FB_CFB_COPYAREA
829 select FB_CFB_IMAGEBLIT
830 help 827 help
831 Say Y here if you have a Hercules mono graphics card. 828 Say Y here if you have a Hercules mono graphics card.
832 829
833 To compile this driver as a module, choose M here: the 830 To compile this driver as a module, choose M here: the
834 module will be called hgafb. 831 module will be called hgafb.
835 832
836 As this card technology is 15 years old, most people will answer N 833 As this card technology is at least 25 years old,
837 here. 834 most people will answer N here.
838
839config FB_HGA_ACCEL
840 bool "Hercules mono Acceleration functions (EXPERIMENTAL)"
841 depends on FB_HGA && EXPERIMENTAL
842 ---help---
843 This will compile the Hercules mono graphics with
844 acceleration functions.
845 835
846config FB_SGIVW 836config FB_SGIVW
847 tristate "SGI Visual Workstation framebuffer support" 837 tristate "SGI Visual Workstation framebuffer support"