this is an v2 attempt to resurrect an old (like 2.4.19) out-of-tree driver
Intel740 graphics cards and modify it for recent kernels. The old driver is
located at: http://sourceforge.net/projects/i740fbdev/files/
It was easier to create a new driver based on skeletonfb, using most of the
low level HW code from the old driver. The DDC code is completely new.
The driver was tested on two 8MB cards: ManLi and Diamond Stealth II G460
The i740_calc_fifo() function formatting is nice but does not pass
checkpatch. Making it checkpatch-compliant makes the code look ugly. How to
make it both nice and compatible with Linux coding style?
(the remaining // comments mark things that need attention - missing xpan
Changes in v2:
- fixed 15bpp (16bpp 555) mode
- not working 1280x1024-32 is not a bug but card's feature, it's now
correctly by the driver
- 24bpp modes still don't work in fbtest but it looks like fbtest bug!
Is there any better way to test fb drivers than fbtest?
no signed-off-by yet
--- linux-2.6.39-rc2-orig/drivers/video/Kconfig 2011-04-06
+++ linux-2.6.39-rc2/drivers/video/Kconfig 2011-07-30 11:34:10.000000000
@@ -1117,6 +1117,17 @@ config FB_RIVA_BACKLIGHT
Say Y here if you want to control the backlight of your display.
+ tristate "Intel740 support (EXPERIMENTAL)"
+ depends on EXPERIMENTAL && FB && PCI && X86_32 && AGP_INTEL
+ select FB_MODE_HELPERS
+ select FB_CFB_FILLRECT
+ select FB_CFB_COPYAREA
+ select FB_CFB_IMAGEBLIT
+ select VGASTATE
+ This driver supports graphics cards based on Intel740 chip.
tristate "Intel 810/815 support (EXPERIMENTAL)"
depends on EXPERIMENTAL && FB && PCI && X86_32 && AGP_INTEL
--- /dev/null 2011-08-21 21:21:40.810604642 +0200
+++ linux-2.6.39-rc2/drivers/video/i740fb.c 2011-08-20 14:13:30.000000000
@@ -0,0 +1,1259 @@
+ * i740fb - framebuffer driver for Intel740
+ * Copyright (c) 2011 Ondrej Zary
+ * Based on old i740fb driver (c) 2001-2002 Andrey Ulanov
which was partially based on:
+ * VGA 16-color framebuffer driver (c) 1999 Ben Pfaff
and Petr Vandrovec
+ * i740 driver from XFree86 (c) 1998-1999 Precision Insight, Inc., Cedar
+ * i740fb by Patrick LERDA, v0.9