From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10781 invoked from network); 12 Nov 2021 18:42:48 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 12 Nov 2021 18:42:48 -0000 Received: from mail-pg1-f169.google.com ([209.85.215.169]) by 4ess; Fri Nov 12 13:37:43 -0500 2021 Received: by mail-pg1-f169.google.com with SMTP id m15so4869076pgu.11 for <9front@9front.org>; Fri, 12 Nov 2021 10:37:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=TBtllB1msZARDiWLig5IqxDAzeNeCBfJ3HnWNUG5z8M=; b=gquBGl8GnS+LgqdUbCHKvQBhfwPormaotfmbUIS7zmLrybmbV7Yopr/Q1pERLkLPqQ idNOa6IYH8Yf84AL+BJrng1jUx8HQSiYkEa9iTBE6aDSJJT/EscAqYNVddYUcWS+kI1U JVo4TiXlZhYjLyqLACF6rKZEMwPVT+Ne+GtWqyVJUXl/y6XNVZURsfTk+VDbPp41dHl6 Gjsx/aqI2ahR1U4JEHQL49Qftg3jMbGu8EbEz76duaMvnvFyao267s6nOHZpEj9uU5p7 7bbAfxYd8mpmKsF4gyuQn4jEEAfR6/dwhDjAdtScIrtnH6orxRZ82/5NV07Pj+PvoSh3 RlHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TBtllB1msZARDiWLig5IqxDAzeNeCBfJ3HnWNUG5z8M=; b=1bni0wvTIfdLGrCZwXH/zMW2PkRoy+F9XMkpTEJfH0m5qpDUJVn8gfogJHnUo05ooz syjc6SWqHe5ZiQHDLfVuNf6yCpBWv6d7rNAzhQU+MSdPJMnZmDOlhlY/9bwPOo365uel U+iJQWELimVuDpNTLHtnZ2BryGdTCRsmiVUNSOAo54TO09x/lUCrgR3ElVbAUvvdTdvx 2NN8HNb5BE7tfPmEfXaNX/WYOqODniQCl9M90NvG5a2fv/SP1EnWbKfV3yxOxWv6qIev KGF0Jct6cpCtbj3XmONjiF5/Rvyy0r5zt3rybNUuGEVXDP5mlbupXVGvYNP362ZJ2CNA JxJg== X-Gm-Message-State: AOAM533iRSn7kMEpp9TcYD7kTuM/SbP0R9FLddTXbANZJZPoVYEWUmdJ XgtHqaOx8yttyBaqB1P4giZeNgizmZk= X-Google-Smtp-Source: ABdhPJzdIsd46qZt1Ak7HsuCjh77P8OsEo+UCzYGCNa0HOhNaxA1AB1Xfvv7TY41OMib6msB/FvNtQ== X-Received: by 2002:a63:ab48:: with SMTP id k8mr11272438pgp.307.1636742255559; Fri, 12 Nov 2021 10:37:35 -0800 (PST) Return-Path: Received: from imac.0x30.net (d205-250-121-157.bchsia.telus.net. [205.250.121.157]) by smtp.gmail.com with ESMTPSA id w24sm5569126pgi.81.2021.11.12.10.37.34 for <9front@9front.org> (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 12 Nov 2021 10:37:34 -0800 (PST) Date: Fri, 12 Nov 2021 10:37:33 -0800 From: Kyle Milz To: 9front@9front.org Message-ID: References: <7E90DAD1DDA3E727F15D70ACD67F1717@wopr.sciops.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="vga_igfx_5500.diff" In-Reply-To: <7E90DAD1DDA3E727F15D70ACD67F1717@wopr.sciops.net> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: social metadata configuration-scale injection standard-scale solution Subject: Re: [9front] igfx on haswell Reply-To: 9front@9front.org Precedence: bulk hi, diff below seems to let me use igfx on a thinkpad x1 carbon 3rd gen with a broadwell chipset. % cat /dev/vgactl type igfx size 2560x1440x32 x8r8g8b8 tilt none hwgc soft hwaccel off hwblank off addr p 0xc0000000 v 0xffffff00c0000000 size 0x4000000 softscreen on i tried using the hdmi port on the side but the tv did not get a signal. i have been testing it lightly and there does not seem to be much difference from vesa. diff c7775b365ef3e73748f23b7ace521214753de2a7 uncommitted --- a/lib/vgadb +++ b/lib/vgadb @@ -438,6 +438,7 @@ 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=0x1616 # Intel 5th Gen Core (HD 5500) vid=0x8086 did=0x3185 # Intel 9.5th Gen Core (UHD 600) vid=0x8086 did=0x0a06 link=vga --- a/sys/src/cmd/aux/vga/igfx.c +++ b/sys/src/cmd/aux/vga/igfx.c @@ -368,6 +368,7 @@ /* wet floor */ case 0x0a06: case 0x3185: /* UHD 600 - 9.5 Gen Core */ + case 0x1616: /* HD 5500 - 5th Gen Core */ case 0x0412: /* HD 4600 - 4th Gen Core */ return TypeHSW; case 0x0166: /* 3rd Gen Core - ThinkPad X230 */