shithub: plan9front

Download patch

ref: 41ac2d80c71e0664086a29dfe68b060ecce82580
parent: c7775b365ef3e73748f23b7ace521214753de2a7
author: Kyle Milz <krwmilz@gmail.com>
date: Fri Nov 12 13:37:33 EST 2021

igfx: add x1 carbon 3rd gen (broadwell)

--- a/lib/vgadb	Wed Nov 10 08:01:38 2021
+++ b/lib/vgadb	Fri Nov 12 13:37:33 2021
@@ -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	Wed Nov 10 08:01:38 2021
+++ b/sys/src/cmd/aux/vga/igfx.c	Fri Nov 12 13:37:33 2021
@@ -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 */