igfx: add did for x220

This commit is contained in:
qwx 2017-08-20 13:52:52 +03:00
parent 8c358c3f97
commit eeb8007e60
2 changed files with 3 additions and 0 deletions

View file

@ -430,6 +430,7 @@ ctlr
ctlr=geode linear=1
ctlr
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
vid=0x8086 did=0x0a16 # Intel 4th Gen Core (HD 4400)

View file

@ -18,6 +18,7 @@ stolenmb(Pcidev *p)
switch(p->did){
case 0x0412: /* Haswell HD Graphics 4600 */
case 0x0a16: /* Haswell HD Graphics 4400 */
case 0x0126: /* Sandy Bridge HD Graphics 3000 */
case 0x0166: /* Ivy Bridge */
case 0x0102: /* Core-5 Sandy Bridge */
case 0x0152: /* Core-i3 */
@ -168,6 +169,7 @@ igfxcurregs(VGAscr* scr, int pipe)
break;
case 0x0166: /* Ivy Bridge */
case 0x0152: /* Core-i3 */
case 0x0126: /* Sandy Bridge HD Graphics 3000 */
if(pipe > 2)
return nil;
break;