9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] eeepc1005ha graphics
@ 2021-08-30  2:19 Andrew Eggenberger
  2021-08-31 15:55 ` cinap_lenrek
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Eggenberger @ 2021-08-30  2:19 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]

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*

diff 61f37abf576a02c7f1e3561cfaba3c0457f55c9d uncommitted
--- a/lib/vgadb
+++ b/lib/vgadb
@@ -446,6 +446,7 @@
 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
@@ -1864,4 +1865,11 @@
  shb=1048 ehb=1184 ht=1344
  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
--- a/sys/src/cmd/aux/vga/igfx.c
+++ b/sys/src/cmd/aux/vga/igfx.c
@@ -378,6 +378,7 @@
  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 */

[-- Attachment #2: Type: text/html, Size: 1546 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] [PATCH] eeepc1005ha graphics
  2021-08-30  2:19 [9front] [PATCH] eeepc1005ha graphics Andrew Eggenberger
@ 2021-08-31 15:55 ` cinap_lenrek
  0 siblings, 0 replies; 2+ messages in thread
From: cinap_lenrek @ 2021-08-31 15:55 UTC (permalink / raw)
  To: 9front

patch was mangled, so manually applied, thanks!

Hash:	6c9462710539bd35ae5c51de27e7894522683bd7
Author:	cinap_lenrek <cinap_lenrek@felloff.net>
Date:	Tue Aug 31 17:53:37 +0200 2021

	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*

--
cinap

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-01 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30  2:19 [9front] [PATCH] eeepc1005ha graphics Andrew Eggenberger
2021-08-31 15:55 ` cinap_lenrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).