ref: 6fe180657f3a7a17801cb9aa36c8fe9abda34ac7
parent: 212db4135d10039effb12ab708f8ea7d61c32b1c
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Jan 8 21:55:12 EST 2015
igfx: work in progress intel graphics driver this driver can modeset lvds on x200s and x230. everything else is completely untested. no hardware cursor implemented. no vgadb entries are provided.
--- a/sys/src/9/pc/pccpuf
+++ b/sys/src/9/pc/pccpuf
@@ -113,6 +113,7 @@
vgageode +cur
vgahiqvideo +cur
vgai81x +cur
+ vgaigfx
vgamach64xx +cur
vgamga2164w +cur
vgamga4xx +cur
--- a/sys/src/9/pc/pcf
+++ b/sys/src/9/pc/pcf
@@ -114,6 +114,7 @@
vgageode +cur
vgahiqvideo +cur
vgai81x +cur
+ vgaigfx
vgamach64xx +cur
vgamga2164w +cur
vgamga4xx +cur
--- a/sys/src/9/pc64/pc64
+++ b/sys/src/9/pc64/pc64
@@ -124,6 +124,7 @@
# vgatvp3020 =cur
# vgatvp3026 =cur
vgavesa
+ vgaigfx
# vgavmware +cur
ip
--- a/sys/src/cmd/aux/vga/data.c
+++ b/sys/src/cmd/aux/vga/data.c
@@ -87,6 +87,7 @@
&w30c516, /* ctlr */
&mga4xx,
&mga4xxhwgc,
+ &igfx, /* ctlr */
0,
};
--- a/sys/src/cmd/aux/vga/mkfile
+++ b/sys/src/cmd/aux/vga/mkfile
@@ -62,6 +62,7 @@
vision968.$O\
vmware.$O\
w30c516.$O\
+ igfx.$O\
HFILES=\
pci.h\
@@ -77,4 +78,5 @@
</sys/src/cmd/mkone
-nvidia.$O: riva_tbl.h
+geode.$O: geode_modes.h
+radeon.$O: radeon.h
--- a/sys/src/cmd/aux/vga/vga.h
+++ b/sys/src/cmd/aux/vga/vga.h
@@ -306,9 +306,11 @@
extern void wrmsr(long, uvlong);
/* geode.c */
-
extern Ctlr geode;
extern Ctlr geodehwgc;
+
+/* igfx.c */
+extern Ctlr igfx;
/* mach32.c */
extern Ctlr mach32;