shithub: riscv

Download patch

ref: 41ac2d80c71e0664086a29dfe68b060ecce82580
parent: c7775b365ef3e73748f23b7ace521214753de2a7
author: Kyle Milz <[email protected]>
date: Fri Nov 12 13:37:33 EST 2021

igfx: add x1 carbon 3rd gen (broadwell)

--- 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 */