shithub: riscv

Download patch

ref: 53e1708bcbe910ddf5a548de0b2db0fda911de84
parent: d1c0f53fcdff6d31a36f9d802133b721fc84be1a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Mar 4 01:10:45 EST 2018

igfx: add support for T510 (thanks mycroftiv)

--- a/lib/vgadb
+++ b/lib/vgadb
@@ -430,6 +430,8 @@
 	ctlr=geode linear=1
 
 ctlr
+	vid=0x8086 did=0x0046	# Intel Ironlake Arrandale
+	vid=0x8086 did=0x0102	# Intel 2nd Gen Core (HD 2000)
 	vid=0x8086 did=0x0126	# Intel 2nd Gen Core (HD 3000)
 	vid=0x8086 did=0x0166	# Intel 3rd Gen Core
 	vid=0x8086 did=0x2a42	# Intel 4 Series Mobile
--- a/sys/src/cmd/aux/vga/igfx.c
+++ b/sys/src/cmd/aux/vga/igfx.c
@@ -371,6 +371,7 @@
 	case 0x0166:	/* 3rd Gen Core - ThinkPad X230 */
 	case 0x0152:	/* 2nd/3rd Gen Core - Core-i3 */
 		return TypeIVB;
+	case 0x0046:	/* Thinkpad T510 */
 	case 0x0102:	/* Dell Optiplex 790 */
 	case 0x0126:	/* Thinkpad X220 */
 		return TypeSNB;