9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Kyle Milz <krwmilz@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] igfx on haswell
Date: Fri, 12 Nov 2021 10:37:33 -0800	[thread overview]
Message-ID: <YY60bWs5tjRBNmOB@imac.0x30.net> (raw)
In-Reply-To: <7E90DAD1DDA3E727F15D70ACD67F1717@wopr.sciops.net>

[-- Attachment #1: vga_igfx_5500.diff --]
[-- Type: text/plain, Size: 1170 bytes --]

hi,

diff below seems to let me use igfx on a thinkpad x1 carbon
3rd gen with a broadwell chipset.

% cat /dev/vgactl
type igfx
size 2560x1440x32 x8r8g8b8
tilt none
hwgc soft
hwaccel off
hwblank off
addr p 0xc0000000 v 0xffffff00c0000000 size 0x4000000
softscreen on

i tried using the hdmi port on the side but the tv did not
get a signal. i have been testing it lightly and there does
not seem to be much difference from vesa.


diff c7775b365ef3e73748f23b7ace521214753de2a7 uncommitted
--- a/lib/vgadb
+++ b/lib/vgadb
@@ -438,6 +438,7 @@
 	vid=0x8086 did=0x2a42	# Intel 4 Series Mobile
 	vid=0x8086 did=0x0a16	# Intel 4th Gen Core (HD 4400)
 	vid=0x8086 did=0x0412	# Intel 4th Gen Core (HD 4600)
+	vid=0x8086 did=0x1616	# Intel 5th Gen Core (HD 5500)
 	vid=0x8086 did=0x3185	# Intel 9.5th Gen Core (UHD 600)
 	vid=0x8086 did=0x0a06
 	link=vga
--- a/sys/src/cmd/aux/vga/igfx.c
+++ b/sys/src/cmd/aux/vga/igfx.c
@@ -368,6 +368,7 @@
 		/* wet floor */
 	case 0x0a06:
 	case 0x3185:    /* UHD 600 - 9.5 Gen Core */
+	case 0x1616:	/* HD 5500 - 5th Gen Core */
 	case 0x0412:	/* HD 4600 - 4th Gen Core */
 		return TypeHSW;
 	case 0x0166:	/* 3rd Gen Core - ThinkPad X230 */

  reply	other threads:[~2021-11-12 18:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 15:03 qwx
2021-11-12 18:37 ` Kyle Milz [this message]
2021-11-13  9:42   ` qwx
2021-11-13 21:49     ` Kyle Milz
2021-11-13 22:29       ` qwx
2021-11-15  3:05         ` Kyle Milz
2021-11-15  9:25           ` qwx

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=YY60bWs5tjRBNmOB@imac.0x30.net \
    --to=krwmilz@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).