Skip to contentSkip to conversation

Resurrect Intel740 driver: i740fb

PATCH Superseded Ondrej Zary 1 participant 1 message Jan 23, 2012 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/1 Resurrect Intel740 driver: i740fb

This is a resurrection of an old (like 2.4.19) out-of-tree driver for Intel740 graphics cards and adaptation for recent kernels. The old driver by Andrey Ulanov is located at: http://sourceforge.net/projects/i740fbdev/files/

This is 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: Protac AG240D and Diamond Stealth II G460.

---
Changes in v5:
- fixed checkpatch problems
- added Kconfig dependency on FB_DDC
- cleaned up i740_calc_vclk()
- fixed SDRAM/SGRAM detection
- fixed wrong colors in 16bpp mode when neither 555 nor 565 specified

drivers/video/Kconfig +12 -0
@@ -1123,6 +1123,18 @@ 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
+	select FB_MODE_HELPERS
+	select FB_CFB_FILLRECT
+	select FB_CFB_COPYAREA
+	select FB_CFB_IMAGEBLIT
+	select VGASTATE
+	select FB_DDC
+	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/Makefile +1 -0
@@ -37,6 +37,7 @@ obj-$(CONFIG_FB_GRVGA)            += grv
 obj-$(CONFIG_FB_PM2)              += pm2fb.o
 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/
drivers/video/i740fb.c new file +1331 -0

1,331 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