From nobody Thu Apr 25 10:06:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; arc=fail (BodyHash is different from the expected one); dmarc=pass(p=reject dis=none) header.from=seabios.org Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1659718357167427.48079124544256; Fri, 5 Aug 2022 09:52:37 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 1D1E82132C; Fri, 5 Aug 2022 16:52:32 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id 4663C22689 for ; Mon, 1 Aug 2022 06:44:28 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) with SMTPS id 1659336265800795.4763590802727; Mon, 1 Aug 2022 08:44:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seabios.org; s=dkim; t=1659718353; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-owner: list-unsubscribe:list-subscribe:list-post; bh=7EwPC4AVlbuJ9/rAkU7HfWfiaFC+P2SzPIhsX8UQNUc=; b=BofvPcrCEW1Eyvw8fRl2szqyqFb2eaBakdMPpQHuuX3AW4vq7nn8U6ieqQu/4KTSJxc27N BlumLlaD/tBt/s4khBDaq3mAeTJjveaehyBCk4OzDuJ922FbNMMYC1eFh77u/+nYSYoKSe cHrm7c3uBmgqlbLXmCnLCOYc6AWpQZQ= ARC-Seal: i=1; a=rsa-sha256; t=1659336266; cv=none; d=zohomail.eu; s=zohoarc; b=KAVgKpsF1HqtacnCppShyiH4/OE/pyq6dOe5zeMn9o/wjzcOkRwKIkRMuuk1Iwhaa98xgZJk1KfUFuEqHsnX1dc6Wv1/iSZ9kK9CIHR8gxF7qV06GDzX0Ab8C9TvpWFP1Oqv3a6o7hVTnjMT9hq73fIXP5R10OY5gNhLI1MDSd0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1659336266; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=DTBf2Us3igpoPrzHzCe+qrB0aI9pXpMDbj6bHjRasnM=; b=JXUssKsmF49+Q8irNemMG5Tb+q4moW/plOUEpn5UTsi+WHvkLSjDveoe7NKSsqC0vT7wmBsuGS6ewokKXCgOosczfTxv943PImDzN6YOnMdWVb/UgKQx+fq1TuBekRSjv5zbKmnNaU6WbL2o4YWn/93bP1N5G/1Ljjbi9KB0tEk= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=zohomail.eu; spf=pass smtp.mailfrom=elliotkillick@zohomail.eu; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1659336266; s=zoho; d=zohomail.eu; i=elliotkillick@zohomail.eu; h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=DTBf2Us3igpoPrzHzCe+qrB0aI9pXpMDbj6bHjRasnM=; b=ORPjWeECqP/mm+XK+vpTc0J3JX/j2gW+ZV5qr/Mzdbz50mtLEjvLRlUjBKDOE3I9 aeKmXxloV4ewDQTFtNlORjY1t1O+Qkhyl6QKWsCtzu1xZQOwLDFAc0Mv1wm1Y7TXYBz mJ0c/K0Pf9sDVV3QiX2wD98xQJdyQiofGxYB1dfw= To: seabios@seabios.org Message-ID: <20220801064401.45535-2-elliotkillick@zohomail.eu> Date: Mon, 1 Aug 2022 02:44:00 -0400 In-Reply-To: <20220801064401.45535-1-elliotkillick@zohomail.eu> References: <20220801064401.45535-1-elliotkillick@zohomail.eu> MIME-Version: 1.0 X-MailFrom: elliotkillick@zohomail.eu X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1 Message-ID-Hash: 4J3TXHJ7RO3MAX447M76B6LVYZ73CYSG X-Message-ID-Hash: 4J3TXHJ7RO3MAX447M76B6LVYZ73CYSG X-Mailman-Approved-At: Fri, 05 Aug 2022 16:52:07 +0000 CC: Elliot Killick X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [SeaBIOS] [PATCH 1/2] svgamodes: Add support for all standard resolutions List-Id: SeaBIOS mailing list Archived-At: <> List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Elliot Killick via SeaBIOS Reply-To: Elliot Killick Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: - X-ZohoMail-DKIM: pass (identity @seabios.org) X-ZM-MESSAGEID: 1659718357570100001 Content-Type: text/plain; charset="utf-8" Add support for all standard resolutions as listed on Wikipedia. https://en.wikipedia.org/wiki/Graphics_display_resolution Signed-off-by: Elliot Killick --- vgasrc/svgamodes.c | 103 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 80 insertions(+), 23 deletions(-) diff --git a/vgasrc/svgamodes.c b/vgasrc/svgamodes.c index 2543b95..ba5bb5c 100644 --- a/vgasrc/svgamodes.c +++ b/vgasrc/svgamodes.c @@ -75,30 +75,87 @@ struct generic_svga_mode svga_modes[] VAR16 =3D { { 0x187, { MM_DIRECT, 1920, 1200, 16, 8, 16, SEG_GRAPH } }, { 0x188, { MM_DIRECT, 1920, 1200, 24, 8, 16, SEG_GRAPH } }, { 0x189, { MM_DIRECT, 1920, 1200, 32, 8, 16, SEG_GRAPH } }, - { 0x18a, { MM_DIRECT, 2560, 1600, 16, 8, 16, SEG_GRAPH } }, - { 0x18b, { MM_DIRECT, 2560, 1600, 24, 8, 16, SEG_GRAPH } }, - { 0x18c, { MM_DIRECT, 2560, 1600, 32, 8, 16, SEG_GRAPH } }, - { 0x18d, { MM_DIRECT, 1280, 720, 16, 8, 16, SEG_GRAPH } }, - { 0x18e, { MM_DIRECT, 1280, 720, 24, 8, 16, SEG_GRAPH } }, - { 0x18f, { MM_DIRECT, 1280, 720, 32, 8, 16, SEG_GRAPH } }, - { 0x190, { MM_DIRECT, 1920, 1080, 16, 8, 16, SEG_GRAPH } }, - { 0x191, { MM_DIRECT, 1920, 1080, 24, 8, 16, SEG_GRAPH } }, - { 0x192, { MM_DIRECT, 1920, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x18a, { MM_DIRECT, 1280, 720, 16, 8, 16, SEG_GRAPH } }, + { 0x18b, { MM_DIRECT, 1280, 720, 24, 8, 16, SEG_GRAPH } }, + { 0x18c, { MM_DIRECT, 1280, 720, 32, 8, 16, SEG_GRAPH } }, + { 0x18d, { MM_DIRECT, 1920, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x18e, { MM_DIRECT, 1920, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x18f, { MM_DIRECT, 1920, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x190, { MM_DIRECT, 1600, 900, 16, 8, 16, SEG_GRAPH } }, + { 0x191, { MM_DIRECT, 1600, 900, 24, 8, 16, SEG_GRAPH } }, + { 0x192, { MM_DIRECT, 1600, 900, 32, 8, 16, SEG_GRAPH } }, + { 0x193, { MM_DIRECT, 960, 540, 16, 8, 16, SEG_GRAPH } }, + { 0x194, { MM_DIRECT, 960, 540, 24, 8, 16, SEG_GRAPH } }, + { 0x195, { MM_DIRECT, 960, 540, 32, 8, 16, SEG_GRAPH } }, + { 0x196, { MM_DIRECT, 1280, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x197, { MM_DIRECT, 1280, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x198, { MM_DIRECT, 1280, 1080, 32, 8, 16, SEG_GRAPH } }, =20 - /* custom resolutions for 16:9 displays */ - { 0x193, { MM_DIRECT, 1600, 900, 16, 8, 16, SEG_GRAPH } }, - { 0x194, { MM_DIRECT, 1600, 900, 24, 8, 16, SEG_GRAPH } }, - { 0x195, { MM_DIRECT, 1600, 900, 32, 8, 16, SEG_GRAPH } }, - { 0x196, { MM_DIRECT, 2560, 1440, 16, 8, 16, SEG_GRAPH } }, - { 0x197, { MM_DIRECT, 2560, 1440, 24, 8, 16, SEG_GRAPH } }, - { 0x198, { MM_DIRECT, 2560, 1440, 32, 8, 16, SEG_GRAPH } }, + /* other high-definition resloutions */ + { 0x199, { MM_DIRECT, 2048, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x19a, { MM_DIRECT, 2048, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x19b, { MM_DIRECT, 2048, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x19c, { MM_DIRECT, 2160, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x19d, { MM_DIRECT, 2160, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x19e, { MM_DIRECT, 2160, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x19f, { MM_DIRECT, 2560, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x1a0, { MM_DIRECT, 2560, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x1a1, { MM_DIRECT, 2560, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x1a2, { MM_DIRECT, 2560, 1440, 16, 8, 16, SEG_GRAPH } }, + { 0x1a3, { MM_DIRECT, 2560, 1440, 24, 8, 16, SEG_GRAPH } }, + { 0x1a4, { MM_DIRECT, 2560, 1440, 32, 8, 16, SEG_GRAPH } }, + { 0x1a5, { MM_DIRECT, 3200, 1800, 16, 8, 16, SEG_GRAPH } }, + { 0x1a6, { MM_DIRECT, 3200, 1800, 24, 8, 16, SEG_GRAPH } }, + { 0x1a7, { MM_DIRECT, 3200, 1800, 32, 8, 16, SEG_GRAPH } }, + { 0x1a8, { MM_DIRECT, 3440, 1440, 16, 8, 16, SEG_GRAPH } }, + { 0x1a9, { MM_DIRECT, 3440, 1440, 24, 8, 16, SEG_GRAPH } }, + { 0x1aa, { MM_DIRECT, 3440, 1440, 32, 8, 16, SEG_GRAPH } }, + { 0x1ab, { MM_DIRECT, 3840, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x1ac, { MM_DIRECT, 3840, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x1ad, { MM_DIRECT, 3840, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x1ae, { MM_DIRECT, 3840, 1600, 16, 8, 16, SEG_GRAPH } }, + { 0x1af, { MM_DIRECT, 3840, 1600, 24, 8, 16, SEG_GRAPH } }, + { 0x1b0, { MM_DIRECT, 3840, 1600, 32, 8, 16, SEG_GRAPH } }, + { 0x1b1, { MM_DIRECT, 3840, 2160, 16, 8, 16, SEG_GRAPH } }, + { 0x1b2, { MM_DIRECT, 3840, 2160, 24, 8, 16, SEG_GRAPH } }, + { 0x1b3, { MM_DIRECT, 3840, 2160, 32, 8, 16, SEG_GRAPH } }, + { 0x1b4, { MM_DIRECT, 4096, 2160, 16, 8, 16, SEG_GRAPH } }, + { 0x1b5, { MM_DIRECT, 4096, 2160, 24, 8, 16, SEG_GRAPH } }, + { 0x1b6, { MM_DIRECT, 4096, 2160, 32, 8, 16, SEG_GRAPH } }, + { 0x1b7, { MM_DIRECT, 5120, 2160, 16, 8, 16, SEG_GRAPH } }, + { 0x1b8, { MM_DIRECT, 5120, 2160, 24, 8, 16, SEG_GRAPH } }, + { 0x1b9, { MM_DIRECT, 5120, 2160, 32, 8, 16, SEG_GRAPH } }, + { 0x1ba, { MM_DIRECT, 5120, 2880, 16, 8, 16, SEG_GRAPH } }, + { 0x1bb, { MM_DIRECT, 5120, 2880, 24, 8, 16, SEG_GRAPH } }, + { 0x1bc, { MM_DIRECT, 5120, 2880, 32, 8, 16, SEG_GRAPH } }, + { 0x1bd, { MM_DIRECT, 7680, 4320, 16, 8, 16, SEG_GRAPH } }, + { 0x1be, { MM_DIRECT, 7680, 4320, 24, 8, 16, SEG_GRAPH } }, + { 0x1bf, { MM_DIRECT, 7680, 4320, 32, 8, 16, SEG_GRAPH } }, + { 0x1c0, { MM_DIRECT, 17280,4320, 16, 8, 16, SEG_GRAPH } }, + { 0x1c1, { MM_DIRECT, 17280,4320, 24, 8, 16, SEG_GRAPH } }, + { 0x1c2, { MM_DIRECT, 17280,4320, 32, 8, 16, SEG_GRAPH } }, =20 - /* 4k modes */ - { 0x199, { MM_DIRECT, 3840, 2160, 16, 8, 16, SEG_GRAPH } }, - { 0x19a, { MM_DIRECT, 3840, 2160, 32, 8, 16, SEG_GRAPH } }, - { 0x19b, { MM_DIRECT, 4096, 2160, 16, 8, 16, SEG_GRAPH } }, - { 0x19c, { MM_DIRECT, 4096, 2160, 32, 8, 16, SEG_GRAPH } }, - { 0x19d, { MM_DIRECT, 5120, 2160, 16, 8, 16, SEG_GRAPH } }, - { 0x19e, { MM_DIRECT, 5120, 2160, 32, 8, 16, SEG_GRAPH } }, + /* quad extended graphics array resolutions */ + { 0x1c3, { MM_DIRECT, 2048, 1152, 16, 8, 16, SEG_GRAPH } }, + { 0x1c4, { MM_DIRECT, 2048, 1152, 24, 8, 16, SEG_GRAPH } }, + { 0x1c5, { MM_DIRECT, 2048, 1152, 32, 8, 16, SEG_GRAPH } }, + { 0x1c6, { MM_DIRECT, 2048, 1536, 16, 8, 16, SEG_GRAPH } }, + { 0x1c7, { MM_DIRECT, 2048, 1536, 24, 8, 16, SEG_GRAPH } }, + { 0x1c8, { MM_DIRECT, 2048, 1536, 32, 8, 16, SEG_GRAPH } }, + { 0x1c9, { MM_DIRECT, 2560, 1600, 16, 8, 16, SEG_GRAPH } }, + { 0x1ca, { MM_DIRECT, 2560, 1600, 24, 8, 16, SEG_GRAPH } }, + { 0x1cb, { MM_DIRECT, 2560, 1600, 32, 8, 16, SEG_GRAPH } }, + { 0x1cc, { MM_DIRECT, 2560, 2048, 16, 8, 16, SEG_GRAPH } }, + { 0x1cd, { MM_DIRECT, 2560, 2048, 24, 8, 16, SEG_GRAPH } }, + { 0x1ce, { MM_DIRECT, 2560, 2048, 32, 8, 16, SEG_GRAPH } }, + { 0x1cf, { MM_DIRECT, 3200, 2048, 16, 8, 16, SEG_GRAPH } }, + { 0x1d0, { MM_DIRECT, 3200, 2048, 24, 8, 16, SEG_GRAPH } }, + { 0x1d1, { MM_DIRECT, 3200, 2048, 32, 8, 16, SEG_GRAPH } }, + { 0x1d2, { MM_DIRECT, 3200, 2400, 16, 8, 16, SEG_GRAPH } }, + { 0x1d3, { MM_DIRECT, 3200, 2400, 24, 8, 16, SEG_GRAPH } }, + { 0x1d4, { MM_DIRECT, 3200, 2400, 32, 8, 16, SEG_GRAPH } }, + { 0x1d5, { MM_DIRECT, 3840, 2400, 16, 8, 16, SEG_GRAPH } }, + { 0x1d6, { MM_DIRECT, 3840, 2400, 24, 8, 16, SEG_GRAPH } }, + { 0x1d7, { MM_DIRECT, 3840, 2400, 32, 8, 16, SEG_GRAPH } }, }; unsigned int svga_mcount VAR16 =3D ARRAY_SIZE(svga_modes); --=20 2.34.3 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org From nobody Thu Apr 25 10:06:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; arc=fail (BodyHash is different from the expected one); dmarc=pass(p=reject dis=none) header.from=seabios.org Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 165971836771668.77681718285976; Fri, 5 Aug 2022 09:52:47 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id AF3A22249A; Fri, 5 Aug 2022 16:52:43 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id DE69C230D1 for ; Mon, 1 Aug 2022 06:44:33 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) with SMTPS id 1659336270275748.8815517544085; Mon, 1 Aug 2022 08:44:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seabios.org; s=dkim; t=1659718364; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-owner: list-unsubscribe:list-subscribe:list-post; bh=OKPk4PLb6E3FNHdPYzvmMNRzUiH0A8f4nBtfivKJc1A=; b=b/R8cdAyszn+umNkSfyB8A7bCtxujt959Hi/jZyB1trSMkCTqJAH+GKZMc4d3xpurdHwDx mA8OwaylJlISriToW9QbCRFc54fVoXs9qSp1PXRBSf1qpHQH+3whEB8i4yP4Mezu5Z3OPw tQml9PJW/OSI7FABwhU9xthQxblnBTU= ARC-Seal: i=1; a=rsa-sha256; t=1659336271; cv=none; d=zohomail.eu; s=zohoarc; b=GNY7UIIE/dNbDNAlUdJyzUTxtDoraLXyc11lAwkSdcGvZfK8RO2942nRF7IieFu6r0ozaKzLdHd4pABGwk47DROTRXvTDDXT7vJ6Mc4AfkXCrNk0Ef/6fCkHDEfFFm7Lio+CE93uxtxCjiInGhyrDANdcukv9ZBci4HN3kHSsuc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1659336271; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=jtnedjVCtN+mz1k/PpovIVHfUBlz5NDtk4d7U1qxXBY=; b=QfFFGh3dCEVSRn0Upv8Foav0sb9DcK5xxSOGw0mnEAMZ6SZ6lnnOBGGDUrvUgwevdNf3WyN47FRL39+N0HcqPZN4z5KQ7eTzhua8R1IG6ibAXxtAtHuheEeR6dMYvKV2W1Zr7flvSJxrWDOuM7O00IBOCAms/O26MUPhcZGamJU= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=zohomail.eu; spf=pass smtp.mailfrom=elliotkillick@zohomail.eu; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1659336271; s=zoho; d=zohomail.eu; i=elliotkillick@zohomail.eu; h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=jtnedjVCtN+mz1k/PpovIVHfUBlz5NDtk4d7U1qxXBY=; b=h4dZqFFZlSO0OfHJWF6idzTKWBVXqz7g/rOFIrTDZcFkkZSE+KuLk/8gjfqs9Qlo uixs4Fq5i1Ko66GvNrBFYV7kdzdjYOcbaJAB76nvMccZd4McokHDSSVq8tQnrXwyTIS 8z1hu8gkOjYvtiKjFghlS2WrzLipj29WS2lCvn5A= To: seabios@seabios.org Message-ID: <20220801064401.45535-3-elliotkillick@zohomail.eu> Date: Mon, 1 Aug 2022 02:44:01 -0400 In-Reply-To: <20220801064401.45535-1-elliotkillick@zohomail.eu> References: <20220801064401.45535-1-elliotkillick@zohomail.eu> MIME-Version: 1.0 X-MailFrom: elliotkillick@zohomail.eu X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1 Message-ID-Hash: 3VEMJMAUT5HRT7FK4PWA3SHPA5VWQXR2 X-Message-ID-Hash: 3VEMJMAUT5HRT7FK4PWA3SHPA5VWQXR2 X-Mailman-Approved-At: Fri, 05 Aug 2022 16:52:07 +0000 CC: Elliot Killick X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [SeaBIOS] [PATCH 2/2] svgamodes: Improve formatting List-Id: SeaBIOS mailing list Archived-At: <> List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Elliot Killick via SeaBIOS Reply-To: Elliot Killick Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: - X-ZohoMail-DKIM: pass (identity @seabios.org) X-ZM-MESSAGEID: 1659718369648100001 Content-Type: text/plain; charset="utf-8" Normalize capitalization of hex identifiers and fix spacing to accommodate new 5-digit resolution width. Signed-off-by: Elliot Killick --- vgasrc/svgamodes.c | 278 ++++++++++++++++++++++----------------------- 1 file changed, 139 insertions(+), 139 deletions(-) diff --git a/vgasrc/svgamodes.c b/vgasrc/svgamodes.c index ba5bb5c..b3f1321 100644 --- a/vgasrc/svgamodes.c +++ b/vgasrc/svgamodes.c @@ -13,149 +13,149 @@ =20 struct generic_svga_mode svga_modes[] VAR16 =3D { /* standard modes */ - { 0x100, { MM_PACKED, 640, 400, 8, 8, 16, SEG_GRAPH } }, - { 0x101, { MM_PACKED, 640, 480, 8, 8, 16, SEG_GRAPH } }, - { 0x102, { MM_PLANAR, 800, 600, 4, 8, 16, SEG_GRAPH } }, - { 0x103, { MM_PACKED, 800, 600, 8, 8, 16, SEG_GRAPH } }, - { 0x104, { MM_PLANAR, 1024, 768, 4, 8, 16, SEG_GRAPH } }, - { 0x105, { MM_PACKED, 1024, 768, 8, 8, 16, SEG_GRAPH } }, - { 0x106, { MM_PLANAR, 1280, 1024, 4, 8, 16, SEG_GRAPH } }, - { 0x107, { MM_PACKED, 1280, 1024, 8, 8, 16, SEG_GRAPH } }, - { 0x10D, { MM_DIRECT, 320, 200, 15, 8, 16, SEG_GRAPH } }, - { 0x10E, { MM_DIRECT, 320, 200, 16, 8, 16, SEG_GRAPH } }, - { 0x10F, { MM_DIRECT, 320, 200, 24, 8, 16, SEG_GRAPH } }, - { 0x110, { MM_DIRECT, 640, 480, 15, 8, 16, SEG_GRAPH } }, - { 0x111, { MM_DIRECT, 640, 480, 16, 8, 16, SEG_GRAPH } }, - { 0x112, { MM_DIRECT, 640, 480, 24, 8, 16, SEG_GRAPH } }, - { 0x113, { MM_DIRECT, 800, 600, 15, 8, 16, SEG_GRAPH } }, - { 0x114, { MM_DIRECT, 800, 600, 16, 8, 16, SEG_GRAPH } }, - { 0x115, { MM_DIRECT, 800, 600, 24, 8, 16, SEG_GRAPH } }, - { 0x116, { MM_DIRECT, 1024, 768, 15, 8, 16, SEG_GRAPH } }, - { 0x117, { MM_DIRECT, 1024, 768, 16, 8, 16, SEG_GRAPH } }, - { 0x118, { MM_DIRECT, 1024, 768, 24, 8, 16, SEG_GRAPH } }, - { 0x119, { MM_DIRECT, 1280, 1024, 15, 8, 16, SEG_GRAPH } }, - { 0x11A, { MM_DIRECT, 1280, 1024, 16, 8, 16, SEG_GRAPH } }, - { 0x11B, { MM_DIRECT, 1280, 1024, 24, 8, 16, SEG_GRAPH } }, - { 0x11C, { MM_PACKED, 1600, 1200, 8, 8, 16, SEG_GRAPH } }, - { 0x11D, { MM_DIRECT, 1600, 1200, 15, 8, 16, SEG_GRAPH } }, - { 0x11E, { MM_DIRECT, 1600, 1200, 16, 8, 16, SEG_GRAPH } }, - { 0x11F, { MM_DIRECT, 1600, 1200, 24, 8, 16, SEG_GRAPH } }, + { 0x100, { MM_PACKED, 640, 400, 8, 8, 16, SEG_GRAPH } }, + { 0x101, { MM_PACKED, 640, 480, 8, 8, 16, SEG_GRAPH } }, + { 0x102, { MM_PLANAR, 800, 600, 4, 8, 16, SEG_GRAPH } }, + { 0x103, { MM_PACKED, 800, 600, 8, 8, 16, SEG_GRAPH } }, + { 0x104, { MM_PLANAR, 1024, 768, 4, 8, 16, SEG_GRAPH } }, + { 0x105, { MM_PACKED, 1024, 768, 8, 8, 16, SEG_GRAPH } }, + { 0x106, { MM_PLANAR, 1280, 1024, 4, 8, 16, SEG_GRAPH } }, + { 0x107, { MM_PACKED, 1280, 1024, 8, 8, 16, SEG_GRAPH } }, + { 0x10d, { MM_DIRECT, 320, 200, 15, 8, 16, SEG_GRAPH } }, + { 0x10e, { MM_DIRECT, 320, 200, 16, 8, 16, SEG_GRAPH } }, + { 0x10f, { MM_DIRECT, 320, 200, 24, 8, 16, SEG_GRAPH } }, + { 0x110, { MM_DIRECT, 640, 480, 15, 8, 16, SEG_GRAPH } }, + { 0x111, { MM_DIRECT, 640, 480, 16, 8, 16, SEG_GRAPH } }, + { 0x112, { MM_DIRECT, 640, 480, 24, 8, 16, SEG_GRAPH } }, + { 0x113, { MM_DIRECT, 800, 600, 15, 8, 16, SEG_GRAPH } }, + { 0x114, { MM_DIRECT, 800, 600, 16, 8, 16, SEG_GRAPH } }, + { 0x115, { MM_DIRECT, 800, 600, 24, 8, 16, SEG_GRAPH } }, + { 0x116, { MM_DIRECT, 1024, 768, 15, 8, 16, SEG_GRAPH } }, + { 0x117, { MM_DIRECT, 1024, 768, 16, 8, 16, SEG_GRAPH } }, + { 0x118, { MM_DIRECT, 1024, 768, 24, 8, 16, SEG_GRAPH } }, + { 0x119, { MM_DIRECT, 1280, 1024, 15, 8, 16, SEG_GRAPH } }, + { 0x11a, { MM_DIRECT, 1280, 1024, 16, 8, 16, SEG_GRAPH } }, + { 0x11b, { MM_DIRECT, 1280, 1024, 24, 8, 16, SEG_GRAPH } }, + { 0x11c, { MM_PACKED, 1600, 1200, 8, 8, 16, SEG_GRAPH } }, + { 0x11d, { MM_DIRECT, 1600, 1200, 15, 8, 16, SEG_GRAPH } }, + { 0x11e, { MM_DIRECT, 1600, 1200, 16, 8, 16, SEG_GRAPH } }, + { 0x11f, { MM_DIRECT, 1600, 1200, 24, 8, 16, SEG_GRAPH } }, /* other modes */ - { 0x140, { MM_DIRECT, 320, 200, 32, 8, 16, SEG_GRAPH } }, - { 0x141, { MM_DIRECT, 640, 400, 32, 8, 16, SEG_GRAPH } }, - { 0x142, { MM_DIRECT, 640, 480, 32, 8, 16, SEG_GRAPH } }, - { 0x143, { MM_DIRECT, 800, 600, 32, 8, 16, SEG_GRAPH } }, - { 0x144, { MM_DIRECT, 1024, 768, 32, 8, 16, SEG_GRAPH } }, - { 0x145, { MM_DIRECT, 1280, 1024, 32, 8, 16, SEG_GRAPH } }, - { 0x146, { MM_PACKED, 320, 200, 8, 8, 16, SEG_GRAPH } }, - { 0x147, { MM_DIRECT, 1600, 1200, 32, 8, 16, SEG_GRAPH } }, - { 0x148, { MM_PACKED, 1152, 864, 8, 8, 16, SEG_GRAPH } }, - { 0x149, { MM_DIRECT, 1152, 864, 15, 8, 16, SEG_GRAPH } }, - { 0x14a, { MM_DIRECT, 1152, 864, 16, 8, 16, SEG_GRAPH } }, - { 0x14b, { MM_DIRECT, 1152, 864, 24, 8, 16, SEG_GRAPH } }, - { 0x14c, { MM_DIRECT, 1152, 864, 32, 8, 16, SEG_GRAPH } }, - { 0x175, { MM_DIRECT, 1280, 768, 16, 8, 16, SEG_GRAPH } }, - { 0x176, { MM_DIRECT, 1280, 768, 24, 8, 16, SEG_GRAPH } }, - { 0x177, { MM_DIRECT, 1280, 768, 32, 8, 16, SEG_GRAPH } }, - { 0x178, { MM_DIRECT, 1280, 800, 16, 8, 16, SEG_GRAPH } }, - { 0x179, { MM_DIRECT, 1280, 800, 24, 8, 16, SEG_GRAPH } }, - { 0x17a, { MM_DIRECT, 1280, 800, 32, 8, 16, SEG_GRAPH } }, - { 0x17b, { MM_DIRECT, 1280, 960, 16, 8, 16, SEG_GRAPH } }, - { 0x17c, { MM_DIRECT, 1280, 960, 24, 8, 16, SEG_GRAPH } }, - { 0x17d, { MM_DIRECT, 1280, 960, 32, 8, 16, SEG_GRAPH } }, - { 0x17e, { MM_DIRECT, 1440, 900, 16, 8, 16, SEG_GRAPH } }, - { 0x17f, { MM_DIRECT, 1440, 900, 24, 8, 16, SEG_GRAPH } }, - { 0x180, { MM_DIRECT, 1440, 900, 32, 8, 16, SEG_GRAPH } }, - { 0x181, { MM_DIRECT, 1400, 1050, 16, 8, 16, SEG_GRAPH } }, - { 0x182, { MM_DIRECT, 1400, 1050, 24, 8, 16, SEG_GRAPH } }, - { 0x183, { MM_DIRECT, 1400, 1050, 32, 8, 16, SEG_GRAPH } }, - { 0x184, { MM_DIRECT, 1680, 1050, 16, 8, 16, SEG_GRAPH } }, - { 0x185, { MM_DIRECT, 1680, 1050, 24, 8, 16, SEG_GRAPH } }, - { 0x186, { MM_DIRECT, 1680, 1050, 32, 8, 16, SEG_GRAPH } }, - { 0x187, { MM_DIRECT, 1920, 1200, 16, 8, 16, SEG_GRAPH } }, - { 0x188, { MM_DIRECT, 1920, 1200, 24, 8, 16, SEG_GRAPH } }, - { 0x189, { MM_DIRECT, 1920, 1200, 32, 8, 16, SEG_GRAPH } }, - { 0x18a, { MM_DIRECT, 1280, 720, 16, 8, 16, SEG_GRAPH } }, - { 0x18b, { MM_DIRECT, 1280, 720, 24, 8, 16, SEG_GRAPH } }, - { 0x18c, { MM_DIRECT, 1280, 720, 32, 8, 16, SEG_GRAPH } }, - { 0x18d, { MM_DIRECT, 1920, 1080, 16, 8, 16, SEG_GRAPH } }, - { 0x18e, { MM_DIRECT, 1920, 1080, 24, 8, 16, SEG_GRAPH } }, - { 0x18f, { MM_DIRECT, 1920, 1080, 32, 8, 16, SEG_GRAPH } }, - { 0x190, { MM_DIRECT, 1600, 900, 16, 8, 16, SEG_GRAPH } }, - { 0x191, { MM_DIRECT, 1600, 900, 24, 8, 16, SEG_GRAPH } }, - { 0x192, { MM_DIRECT, 1600, 900, 32, 8, 16, SEG_GRAPH } }, - { 0x193, { MM_DIRECT, 960, 540, 16, 8, 16, SEG_GRAPH } }, - { 0x194, { MM_DIRECT, 960, 540, 24, 8, 16, SEG_GRAPH } }, - { 0x195, { MM_DIRECT, 960, 540, 32, 8, 16, SEG_GRAPH } }, - { 0x196, { MM_DIRECT, 1280, 1080, 16, 8, 16, SEG_GRAPH } }, - { 0x197, { MM_DIRECT, 1280, 1080, 24, 8, 16, SEG_GRAPH } }, - { 0x198, { MM_DIRECT, 1280, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x140, { MM_DIRECT, 320, 200, 32, 8, 16, SEG_GRAPH } }, + { 0x141, { MM_DIRECT, 640, 400, 32, 8, 16, SEG_GRAPH } }, + { 0x142, { MM_DIRECT, 640, 480, 32, 8, 16, SEG_GRAPH } }, + { 0x143, { MM_DIRECT, 800, 600, 32, 8, 16, SEG_GRAPH } }, + { 0x144, { MM_DIRECT, 1024, 768, 32, 8, 16, SEG_GRAPH } }, + { 0x145, { MM_DIRECT, 1280, 1024, 32, 8, 16, SEG_GRAPH } }, + { 0x146, { MM_PACKED, 320, 200, 8, 8, 16, SEG_GRAPH } }, + { 0x147, { MM_DIRECT, 1600, 1200, 32, 8, 16, SEG_GRAPH } }, + { 0x148, { MM_PACKED, 1152, 864, 8, 8, 16, SEG_GRAPH } }, + { 0x149, { MM_DIRECT, 1152, 864, 15, 8, 16, SEG_GRAPH } }, + { 0x14a, { MM_DIRECT, 1152, 864, 16, 8, 16, SEG_GRAPH } }, + { 0x14b, { MM_DIRECT, 1152, 864, 24, 8, 16, SEG_GRAPH } }, + { 0x14c, { MM_DIRECT, 1152, 864, 32, 8, 16, SEG_GRAPH } }, + { 0x175, { MM_DIRECT, 1280, 768, 16, 8, 16, SEG_GRAPH } }, + { 0x176, { MM_DIRECT, 1280, 768, 24, 8, 16, SEG_GRAPH } }, + { 0x177, { MM_DIRECT, 1280, 768, 32, 8, 16, SEG_GRAPH } }, + { 0x178, { MM_DIRECT, 1280, 800, 16, 8, 16, SEG_GRAPH } }, + { 0x179, { MM_DIRECT, 1280, 800, 24, 8, 16, SEG_GRAPH } }, + { 0x17a, { MM_DIRECT, 1280, 800, 32, 8, 16, SEG_GRAPH } }, + { 0x17b, { MM_DIRECT, 1280, 960, 16, 8, 16, SEG_GRAPH } }, + { 0x17c, { MM_DIRECT, 1280, 960, 24, 8, 16, SEG_GRAPH } }, + { 0x17d, { MM_DIRECT, 1280, 960, 32, 8, 16, SEG_GRAPH } }, + { 0x17e, { MM_DIRECT, 1440, 900, 16, 8, 16, SEG_GRAPH } }, + { 0x17f, { MM_DIRECT, 1440, 900, 24, 8, 16, SEG_GRAPH } }, + { 0x180, { MM_DIRECT, 1440, 900, 32, 8, 16, SEG_GRAPH } }, + { 0x181, { MM_DIRECT, 1400, 1050, 16, 8, 16, SEG_GRAPH } }, + { 0x182, { MM_DIRECT, 1400, 1050, 24, 8, 16, SEG_GRAPH } }, + { 0x183, { MM_DIRECT, 1400, 1050, 32, 8, 16, SEG_GRAPH } }, + { 0x184, { MM_DIRECT, 1680, 1050, 16, 8, 16, SEG_GRAPH } }, + { 0x185, { MM_DIRECT, 1680, 1050, 24, 8, 16, SEG_GRAPH } }, + { 0x186, { MM_DIRECT, 1680, 1050, 32, 8, 16, SEG_GRAPH } }, + { 0x187, { MM_DIRECT, 1920, 1200, 16, 8, 16, SEG_GRAPH } }, + { 0x188, { MM_DIRECT, 1920, 1200, 24, 8, 16, SEG_GRAPH } }, + { 0x189, { MM_DIRECT, 1920, 1200, 32, 8, 16, SEG_GRAPH } }, + { 0x18a, { MM_DIRECT, 1280, 720, 16, 8, 16, SEG_GRAPH } }, + { 0x18b, { MM_DIRECT, 1280, 720, 24, 8, 16, SEG_GRAPH } }, + { 0x18c, { MM_DIRECT, 1280, 720, 32, 8, 16, SEG_GRAPH } }, + { 0x18d, { MM_DIRECT, 1920, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x18e, { MM_DIRECT, 1920, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x18f, { MM_DIRECT, 1920, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x190, { MM_DIRECT, 1600, 900, 16, 8, 16, SEG_GRAPH } }, + { 0x191, { MM_DIRECT, 1600, 900, 24, 8, 16, SEG_GRAPH } }, + { 0x192, { MM_DIRECT, 1600, 900, 32, 8, 16, SEG_GRAPH } }, + { 0x193, { MM_DIRECT, 960, 540, 16, 8, 16, SEG_GRAPH } }, + { 0x194, { MM_DIRECT, 960, 540, 24, 8, 16, SEG_GRAPH } }, + { 0x195, { MM_DIRECT, 960, 540, 32, 8, 16, SEG_GRAPH } }, + { 0x196, { MM_DIRECT, 1280, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x197, { MM_DIRECT, 1280, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x198, { MM_DIRECT, 1280, 1080, 32, 8, 16, SEG_GRAPH } }, =20 /* other high-definition resloutions */ - { 0x199, { MM_DIRECT, 2048, 1080, 16, 8, 16, SEG_GRAPH } }, - { 0x19a, { MM_DIRECT, 2048, 1080, 24, 8, 16, SEG_GRAPH } }, - { 0x19b, { MM_DIRECT, 2048, 1080, 32, 8, 16, SEG_GRAPH } }, - { 0x19c, { MM_DIRECT, 2160, 1080, 16, 8, 16, SEG_GRAPH } }, - { 0x19d, { MM_DIRECT, 2160, 1080, 24, 8, 16, SEG_GRAPH } }, - { 0x19e, { MM_DIRECT, 2160, 1080, 32, 8, 16, SEG_GRAPH } }, - { 0x19f, { MM_DIRECT, 2560, 1080, 16, 8, 16, SEG_GRAPH } }, - { 0x1a0, { MM_DIRECT, 2560, 1080, 24, 8, 16, SEG_GRAPH } }, - { 0x1a1, { MM_DIRECT, 2560, 1080, 32, 8, 16, SEG_GRAPH } }, - { 0x1a2, { MM_DIRECT, 2560, 1440, 16, 8, 16, SEG_GRAPH } }, - { 0x1a3, { MM_DIRECT, 2560, 1440, 24, 8, 16, SEG_GRAPH } }, - { 0x1a4, { MM_DIRECT, 2560, 1440, 32, 8, 16, SEG_GRAPH } }, - { 0x1a5, { MM_DIRECT, 3200, 1800, 16, 8, 16, SEG_GRAPH } }, - { 0x1a6, { MM_DIRECT, 3200, 1800, 24, 8, 16, SEG_GRAPH } }, - { 0x1a7, { MM_DIRECT, 3200, 1800, 32, 8, 16, SEG_GRAPH } }, - { 0x1a8, { MM_DIRECT, 3440, 1440, 16, 8, 16, SEG_GRAPH } }, - { 0x1a9, { MM_DIRECT, 3440, 1440, 24, 8, 16, SEG_GRAPH } }, - { 0x1aa, { MM_DIRECT, 3440, 1440, 32, 8, 16, SEG_GRAPH } }, - { 0x1ab, { MM_DIRECT, 3840, 1080, 16, 8, 16, SEG_GRAPH } }, - { 0x1ac, { MM_DIRECT, 3840, 1080, 24, 8, 16, SEG_GRAPH } }, - { 0x1ad, { MM_DIRECT, 3840, 1080, 32, 8, 16, SEG_GRAPH } }, - { 0x1ae, { MM_DIRECT, 3840, 1600, 16, 8, 16, SEG_GRAPH } }, - { 0x1af, { MM_DIRECT, 3840, 1600, 24, 8, 16, SEG_GRAPH } }, - { 0x1b0, { MM_DIRECT, 3840, 1600, 32, 8, 16, SEG_GRAPH } }, - { 0x1b1, { MM_DIRECT, 3840, 2160, 16, 8, 16, SEG_GRAPH } }, - { 0x1b2, { MM_DIRECT, 3840, 2160, 24, 8, 16, SEG_GRAPH } }, - { 0x1b3, { MM_DIRECT, 3840, 2160, 32, 8, 16, SEG_GRAPH } }, - { 0x1b4, { MM_DIRECT, 4096, 2160, 16, 8, 16, SEG_GRAPH } }, - { 0x1b5, { MM_DIRECT, 4096, 2160, 24, 8, 16, SEG_GRAPH } }, - { 0x1b6, { MM_DIRECT, 4096, 2160, 32, 8, 16, SEG_GRAPH } }, - { 0x1b7, { MM_DIRECT, 5120, 2160, 16, 8, 16, SEG_GRAPH } }, - { 0x1b8, { MM_DIRECT, 5120, 2160, 24, 8, 16, SEG_GRAPH } }, - { 0x1b9, { MM_DIRECT, 5120, 2160, 32, 8, 16, SEG_GRAPH } }, - { 0x1ba, { MM_DIRECT, 5120, 2880, 16, 8, 16, SEG_GRAPH } }, - { 0x1bb, { MM_DIRECT, 5120, 2880, 24, 8, 16, SEG_GRAPH } }, - { 0x1bc, { MM_DIRECT, 5120, 2880, 32, 8, 16, SEG_GRAPH } }, - { 0x1bd, { MM_DIRECT, 7680, 4320, 16, 8, 16, SEG_GRAPH } }, - { 0x1be, { MM_DIRECT, 7680, 4320, 24, 8, 16, SEG_GRAPH } }, - { 0x1bf, { MM_DIRECT, 7680, 4320, 32, 8, 16, SEG_GRAPH } }, - { 0x1c0, { MM_DIRECT, 17280,4320, 16, 8, 16, SEG_GRAPH } }, - { 0x1c1, { MM_DIRECT, 17280,4320, 24, 8, 16, SEG_GRAPH } }, - { 0x1c2, { MM_DIRECT, 17280,4320, 32, 8, 16, SEG_GRAPH } }, + { 0x199, { MM_DIRECT, 2048, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x19a, { MM_DIRECT, 2048, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x19b, { MM_DIRECT, 2048, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x19c, { MM_DIRECT, 2160, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x19d, { MM_DIRECT, 2160, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x19e, { MM_DIRECT, 2160, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x19f, { MM_DIRECT, 2560, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x1a0, { MM_DIRECT, 2560, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x1a1, { MM_DIRECT, 2560, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x1a2, { MM_DIRECT, 2560, 1440, 16, 8, 16, SEG_GRAPH } }, + { 0x1a3, { MM_DIRECT, 2560, 1440, 24, 8, 16, SEG_GRAPH } }, + { 0x1a4, { MM_DIRECT, 2560, 1440, 32, 8, 16, SEG_GRAPH } }, + { 0x1a5, { MM_DIRECT, 3200, 1800, 16, 8, 16, SEG_GRAPH } }, + { 0x1a6, { MM_DIRECT, 3200, 1800, 24, 8, 16, SEG_GRAPH } }, + { 0x1a7, { MM_DIRECT, 3200, 1800, 32, 8, 16, SEG_GRAPH } }, + { 0x1a8, { MM_DIRECT, 3440, 1440, 16, 8, 16, SEG_GRAPH } }, + { 0x1a9, { MM_DIRECT, 3440, 1440, 24, 8, 16, SEG_GRAPH } }, + { 0x1aa, { MM_DIRECT, 3440, 1440, 32, 8, 16, SEG_GRAPH } }, + { 0x1ab, { MM_DIRECT, 3840, 1080, 16, 8, 16, SEG_GRAPH } }, + { 0x1ac, { MM_DIRECT, 3840, 1080, 24, 8, 16, SEG_GRAPH } }, + { 0x1ad, { MM_DIRECT, 3840, 1080, 32, 8, 16, SEG_GRAPH } }, + { 0x1ae, { MM_DIRECT, 3840, 1600, 16, 8, 16, SEG_GRAPH } }, + { 0x1af, { MM_DIRECT, 3840, 1600, 24, 8, 16, SEG_GRAPH } }, + { 0x1b0, { MM_DIRECT, 3840, 1600, 32, 8, 16, SEG_GRAPH } }, + { 0x1b1, { MM_DIRECT, 3840, 2160, 16, 8, 16, SEG_GRAPH } }, + { 0x1b2, { MM_DIRECT, 3840, 2160, 24, 8, 16, SEG_GRAPH } }, + { 0x1b3, { MM_DIRECT, 3840, 2160, 32, 8, 16, SEG_GRAPH } }, + { 0x1b4, { MM_DIRECT, 4096, 2160, 16, 8, 16, SEG_GRAPH } }, + { 0x1b5, { MM_DIRECT, 4096, 2160, 24, 8, 16, SEG_GRAPH } }, + { 0x1b6, { MM_DIRECT, 4096, 2160, 32, 8, 16, SEG_GRAPH } }, + { 0x1b7, { MM_DIRECT, 5120, 2160, 16, 8, 16, SEG_GRAPH } }, + { 0x1b8, { MM_DIRECT, 5120, 2160, 24, 8, 16, SEG_GRAPH } }, + { 0x1b9, { MM_DIRECT, 5120, 2160, 32, 8, 16, SEG_GRAPH } }, + { 0x1ba, { MM_DIRECT, 5120, 2880, 16, 8, 16, SEG_GRAPH } }, + { 0x1bb, { MM_DIRECT, 5120, 2880, 24, 8, 16, SEG_GRAPH } }, + { 0x1bc, { MM_DIRECT, 5120, 2880, 32, 8, 16, SEG_GRAPH } }, + { 0x1bd, { MM_DIRECT, 7680, 4320, 16, 8, 16, SEG_GRAPH } }, + { 0x1be, { MM_DIRECT, 7680, 4320, 24, 8, 16, SEG_GRAPH } }, + { 0x1bf, { MM_DIRECT, 7680, 4320, 32, 8, 16, SEG_GRAPH } }, + { 0x1c0, { MM_DIRECT, 17280, 4320, 16, 8, 16, SEG_GRAPH } }, + { 0x1c1, { MM_DIRECT, 17280, 4320, 24, 8, 16, SEG_GRAPH } }, + { 0x1c2, { MM_DIRECT, 17280, 4320, 32, 8, 16, SEG_GRAPH } }, =20 /* quad extended graphics array resolutions */ - { 0x1c3, { MM_DIRECT, 2048, 1152, 16, 8, 16, SEG_GRAPH } }, - { 0x1c4, { MM_DIRECT, 2048, 1152, 24, 8, 16, SEG_GRAPH } }, - { 0x1c5, { MM_DIRECT, 2048, 1152, 32, 8, 16, SEG_GRAPH } }, - { 0x1c6, { MM_DIRECT, 2048, 1536, 16, 8, 16, SEG_GRAPH } }, - { 0x1c7, { MM_DIRECT, 2048, 1536, 24, 8, 16, SEG_GRAPH } }, - { 0x1c8, { MM_DIRECT, 2048, 1536, 32, 8, 16, SEG_GRAPH } }, - { 0x1c9, { MM_DIRECT, 2560, 1600, 16, 8, 16, SEG_GRAPH } }, - { 0x1ca, { MM_DIRECT, 2560, 1600, 24, 8, 16, SEG_GRAPH } }, - { 0x1cb, { MM_DIRECT, 2560, 1600, 32, 8, 16, SEG_GRAPH } }, - { 0x1cc, { MM_DIRECT, 2560, 2048, 16, 8, 16, SEG_GRAPH } }, - { 0x1cd, { MM_DIRECT, 2560, 2048, 24, 8, 16, SEG_GRAPH } }, - { 0x1ce, { MM_DIRECT, 2560, 2048, 32, 8, 16, SEG_GRAPH } }, - { 0x1cf, { MM_DIRECT, 3200, 2048, 16, 8, 16, SEG_GRAPH } }, - { 0x1d0, { MM_DIRECT, 3200, 2048, 24, 8, 16, SEG_GRAPH } }, - { 0x1d1, { MM_DIRECT, 3200, 2048, 32, 8, 16, SEG_GRAPH } }, - { 0x1d2, { MM_DIRECT, 3200, 2400, 16, 8, 16, SEG_GRAPH } }, - { 0x1d3, { MM_DIRECT, 3200, 2400, 24, 8, 16, SEG_GRAPH } }, - { 0x1d4, { MM_DIRECT, 3200, 2400, 32, 8, 16, SEG_GRAPH } }, - { 0x1d5, { MM_DIRECT, 3840, 2400, 16, 8, 16, SEG_GRAPH } }, - { 0x1d6, { MM_DIRECT, 3840, 2400, 24, 8, 16, SEG_GRAPH } }, - { 0x1d7, { MM_DIRECT, 3840, 2400, 32, 8, 16, SEG_GRAPH } }, + { 0x1c3, { MM_DIRECT, 2048, 1152, 16, 8, 16, SEG_GRAPH } }, + { 0x1c4, { MM_DIRECT, 2048, 1152, 24, 8, 16, SEG_GRAPH } }, + { 0x1c5, { MM_DIRECT, 2048, 1152, 32, 8, 16, SEG_GRAPH } }, + { 0x1c6, { MM_DIRECT, 2048, 1536, 16, 8, 16, SEG_GRAPH } }, + { 0x1c7, { MM_DIRECT, 2048, 1536, 24, 8, 16, SEG_GRAPH } }, + { 0x1c8, { MM_DIRECT, 2048, 1536, 32, 8, 16, SEG_GRAPH } }, + { 0x1c9, { MM_DIRECT, 2560, 1600, 16, 8, 16, SEG_GRAPH } }, + { 0x1ca, { MM_DIRECT, 2560, 1600, 24, 8, 16, SEG_GRAPH } }, + { 0x1cb, { MM_DIRECT, 2560, 1600, 32, 8, 16, SEG_GRAPH } }, + { 0x1cc, { MM_DIRECT, 2560, 2048, 16, 8, 16, SEG_GRAPH } }, + { 0x1cd, { MM_DIRECT, 2560, 2048, 24, 8, 16, SEG_GRAPH } }, + { 0x1ce, { MM_DIRECT, 2560, 2048, 32, 8, 16, SEG_GRAPH } }, + { 0x1cf, { MM_DIRECT, 3200, 2048, 16, 8, 16, SEG_GRAPH } }, + { 0x1d0, { MM_DIRECT, 3200, 2048, 24, 8, 16, SEG_GRAPH } }, + { 0x1d1, { MM_DIRECT, 3200, 2048, 32, 8, 16, SEG_GRAPH } }, + { 0x1d2, { MM_DIRECT, 3200, 2400, 16, 8, 16, SEG_GRAPH } }, + { 0x1d3, { MM_DIRECT, 3200, 2400, 24, 8, 16, SEG_GRAPH } }, + { 0x1d4, { MM_DIRECT, 3200, 2400, 32, 8, 16, SEG_GRAPH } }, + { 0x1d5, { MM_DIRECT, 3840, 2400, 16, 8, 16, SEG_GRAPH } }, + { 0x1d6, { MM_DIRECT, 3840, 2400, 24, 8, 16, SEG_GRAPH } }, + { 0x1d7, { MM_DIRECT, 3840, 2400, 32, 8, 16, SEG_GRAPH } }, }; unsigned int svga_mcount VAR16 =3D ARRAY_SIZE(svga_modes); --=20 2.34.3 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org