ref: a1e96ae4b512307d69012f42a291253dee0f9303
parent: 51f76ae999813bdbf33b06bb4e6c6c8b00f4aec8
parent: c0ab6c1d015a989b97a7623bb409dc1765e51530
author: cinap_lenrek <[email protected]>
date: Sat Aug 20 15:09:08 EDT 2016
merge
--- a/sys/src/9/pc/vgaigfx.c
+++ b/sys/src/9/pc/vgaigfx.c
@@ -17,9 +17,11 @@
{
switch(p->did){
case 0x0166: /* Ivy Bridge */
+ case 0x0102: /* Core-5 Sandy Bridge */
+ case 0x0152: /* Core-i3 */
switch((pcicfgr16(p, 0x50) >> 3) & 0x1f){
case 0x01: return 32 - 2;
- case 0x02: return 64 - 2;
+ case 0x02: return 64 - 2; /* 0102 Dell machine here */
case 0x03: return 96 - 2;
case 0x04: return 128 - 2;
case 0x05: return 32 - 2;
@@ -37,6 +39,7 @@
}
break;
case 0x2a42: /* X200 */
+ case 0x29a2: /* 82P965/G965 HECI desktop */
case 0x2a02: /* CF-R7 */
switch((pcicfgr16(p, 0x52) >> 4) & 7){
case 0x01: return 1;
@@ -154,11 +157,14 @@
return nil;
switch(scr->pci->did){
case 0x0166: /* Ivy Bridge */
+ case 0x0152: /* Core-i3 */
if(pipe > 2)
return nil;
break;
case 0x2a42: /* X200 */
+ case 0x29a2: /* 82P965/G965 HECI desktop */
case 0x2a02: /* CF-R7 */
+ case 0x0102: /* Sndy Bridge */
if(pipe > 1)
return nil;
o = pipe*0x40;