]> git.lizzy.rs Git - plan9front.git/commitdiff
[PATCH] Support for igfx on Celeron(R) 2957U (thanks Lorenzo Bivens)
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sat, 31 Jul 2021 12:05:29 +0000 (12:05 +0000)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sat, 31 Jul 2021 12:05:29 +0000 (12:05 +0000)
> After some tinkering I managed to get igfx working on this device.
> hw cursor works.
> The only caveat is that I can only get video over hdmi...
> will revisit displayport later

lib/vgadb
sys/src/9/pc/vgaigfx.c
sys/src/cmd/aux/vga/igfx.c

index 4d24af2f102260bbeb07cee4cc35eee22f040058..7219115b45e55571c77f04bdb2536142446ee8f1 100644 (file)
--- a/lib/vgadb
+++ b/lib/vgadb
@@ -437,6 +437,8 @@ ctlr
        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=0x3185   # Intel 9.5th Gen Core (UHD 600)
+       vid=0x8086 did=0x0a06
        link=vga
        hwgc=igfxhwgc
        ctlr=igfx linear=1
index ea70310ab11f872f93fb7bfb30efe6b66fed517d..2c8348f827c02bf1718539b49781b461e9599de4 100644 (file)
@@ -149,6 +149,7 @@ igfxcurregs(VGAscr* scr, int pipe)
        switch(scr->pci->did){
        case 0x0412:    /* Haswell HD Graphics 4600 */
        case 0x0a16:    /* Haswell HD Graphics 4400 */
+       case 0x0a06:
                if(pipe > 3)
                        return nil;
                if(pipe == 3)
index a4e8bad52dc9c75582ef79f1c60940b93350edb8..033c9d95e35caa2e88fda860238ef1996bfd3f4b 100644 (file)
@@ -366,6 +366,8 @@ devtype(Igfx *igfx)
        case 0x0a16:    /* HD 4400 - 4th Gen Core (ULT) */
                igfx->isult = 1;
                /* wet floor */
+       case 0x0a06:
+       case 0x3185:    /* UHD 600 - 9.5 Gen Core */
        case 0x0412:    /* HD 4600 - 4th Gen Core */
                return TypeHSW;
        case 0x0166:    /* 3rd Gen Core - ThinkPad X230 */