diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-09-26 20:47:17 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-09-26 20:47:17 -0700 |
commit | 16766169e2f3f7d2805cd3401bf316471d6e8756 (patch) | |
tree | 6f005e8064023d88d61dde6fbe2315e2666df084 | |
parent | d9f9e10e7b3ad61342ec1d9b034dd17f8452ccbc (diff) | |
download | plan9front-16766169e2f3f7d2805cd3401bf316471d6e8756.tar.xz |
aux/vga: eepc igfx support (thanks p.kosyh)
This patch to makes 1024x600x32 work. Without it
only 800x600 is supported.
To load this mode, run:
aux/vga -m eeepc -l 1024x600x32
-rw-r--r-- | lib/vgadb | 9 | ||||
-rw-r--r-- | sys/src/cmd/aux/vga/igfx.c | 1 |
2 files changed, 10 insertions, 0 deletions
@@ -442,6 +442,7 @@ ctlr ctlr=igfx linear=1 ctlr + vid=0x8086 did=0xa011 # PineView Graphics vid=0x8086 did=0x2592 # Intel 915GM vid=0x8086 did=0x27a2 # Intel GM945/82940GML (hardware cursor broken) vid=0x8086 did=0x2a02 # Intel GM965/GL960/X3100 (hardware cursor broken) @@ -484,6 +485,7 @@ ctlr # An attribute 'alias=val' means continue using another monitor type. It can # be used to chain classes together. (bad explanation, i know). # + include=640x480 # 60Hz, 31.5KHz clock=25.175 shb=664 ehb=760 ht=800 @@ -1854,3 +1856,10 @@ t43p=1600x1200 shb=1664 ehb=1856 ht=2160 vrs=1201 vre=1204 vt=1250 hsync=+ vsync=+ + +eeepc=1024x600 + clock=54.2 + shb=1048 ehb=1184 ht=1344 + vrs=603 vre=609 vt=670 + hsync=- vsync=- + lcd=1 diff --git a/sys/src/cmd/aux/vga/igfx.c b/sys/src/cmd/aux/vga/igfx.c index c636706b0..a4e8bad52 100644 --- a/sys/src/cmd/aux/vga/igfx.c +++ b/sys/src/cmd/aux/vga/igfx.c @@ -375,6 +375,7 @@ devtype(Igfx *igfx) case 0x0102: /* Dell Optiplex 790 */ case 0x0126: /* Thinkpad X220 */ return TypeSNB; + case 0xa011: /* PineView Graphics */ case 0x27a2: /* GM945/82940GML - ThinkPad X60 Tablet */ case 0x29a2: /* 82P965/G965 HECI desktop */ case 0x2a02: /* GM965/GL960/X3100 - ThinkPad X61 Tablet */ |