Resurrect Intel740 driver: i740fb
RFC PATCH 1/1 Resurrect Intel740 driver: i740fb
Hello,
this is an attempt to resurrect an old (like 2.4.19) out-of-tree driver for 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 works great for console (it's pretty fast, although only ypan is implemented, no blits). There are some bugs still left (colors are wrong in fbtest with 16bpp 555 and 24bpp modes, 1280x1024-32 does not work).
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 and suspend/resume)
no signed-off-by yet
drivers/video/Kconfig +11 -0
@@ -1117,6 +1117,17 @@ config FB_RIVA_BACKLIGHT help Say Y here if you want to control the backlight of your display. +config FB_I740 + 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 + help + This driver supports graphics cards based on Intel740 chip. + config FB_I810 tristate "Intel 810/815 support (EXPERIMENTAL)" depends on EXPERIMENTAL && FB && PCI && X86_32 && AGP_INTEL
drivers/video/i740fb.c new file +1262 -0
1,262 lines not on this page · raw message
drivers/video/i740_reg.h new file +309 -0
309 lines not on this page · raw message
Signature · 1 line
Ondrej Zary