9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Andrew Eggenberger <andrew.eggenberger@gmail.com>
To: 9front@9front.org
Subject: [9front] [PATCH] eeepc1005ha graphics
Date: Sun, 29 Aug 2021 21:19:59 -0500	[thread overview]
Message-ID: <CANn+amb7RzPC0aSOZw-cjfdWR471YV=R6POh1+VuP4sjyPkEzw@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-08-30  2:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30  2:19 Andrew Eggenberger [this message]
2021-08-31 15:55 ` cinap_lenrek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANn+amb7RzPC0aSOZw-cjfdWR471YV=R6POh1+VuP4sjyPkEzw@mail.gmail.com' \
    --to=andrew.eggenberger@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).