]> git.lizzy.rs Git - plan9front.git/commitdiff
igfx: add did for x220
authorqwx <devnull@localhost>
Sun, 20 Aug 2017 10:52:52 +0000 (13:52 +0300)
committerqwx <devnull@localhost>
Sun, 20 Aug 2017 10:52:52 +0000 (13:52 +0300)
lib/vgadb
sys/src/9/pc/vgaigfx.c

index 3163fea07d92674b96674986287779ef6f41b93b..4f6b668bad07bddb7d61d143bb896778a93e6776 100644 (file)
--- a/lib/vgadb
+++ b/lib/vgadb
@@ -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)
index 5e8b7047c0e50e2d0efaa70f06b6dc61819d4204..c0f3037b31f13a806597059ccff70257e233a288 100644 (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;