From 6c9462710539bd35ae5c51de27e7894522683bd7 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 31 Aug 2021 15:53:37 +0000 Subject: [PATCH] vga: add eeepc1005ha graphics (thanks Andrew Eggenberger) > This patch enables use of the igfx controller rather than vesa on the > eeepc1005ha netbook. This means using the full screen resolution of > 1024x600. > *Andrew Eggenberger* --- lib/vgadb | 8 ++++++++ sys/src/cmd/aux/vga/igfx.c | 1 + 2 files changed, 9 insertions(+) diff --git a/lib/vgadb b/lib/vgadb index 7219115b4..b7cdf60b3 100644 --- a/lib/vgadb +++ b/lib/vgadb @@ -446,6 +446,7 @@ ctlr ctlr vid=0x8086 did=0xa011 # PineView Graphics vid=0x8086 did=0x2592 # Intel 915GM + vid=0x8086 did=0x27ae # Intel 945GME vid=0x8086 did=0x27a2 # Intel GM945/82940GML (hardware cursor broken) vid=0x8086 did=0x2a02 # Intel GM965/GL960/X3100 (hardware cursor broken) link=vga @@ -1865,3 +1866,10 @@ eeepc=1024x600 vrs=603 vre=609 vt=670 hsync=- vsync=- lcd=1 + +eeepc1005ha=1024x600 + clock=51.42 + shb=1117 ehb=1152 ht=1240 + vrs=617 vre=622 vt=638 + hsync=? vsync=? + lcd=1 diff --git a/sys/src/cmd/aux/vga/igfx.c b/sys/src/cmd/aux/vga/igfx.c index 033c9d95e..4151c31cb 100644 --- a/sys/src/cmd/aux/vga/igfx.c +++ b/sys/src/cmd/aux/vga/igfx.c @@ -378,6 +378,7 @@ devtype(Igfx *igfx) case 0x0126: /* Thinkpad X220 */ return TypeSNB; case 0xa011: /* PineView Graphics */ + case 0x27ae: /* Intel 945GME */ case 0x27a2: /* GM945/82940GML - ThinkPad X60 Tablet */ case 0x29a2: /* 82P965/G965 HECI desktop */ case 0x2a02: /* GM965/GL960/X3100 - ThinkPad X61 Tablet */