From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web09.454.1649378317639513540 for ; Thu, 07 Apr 2022 17:38:39 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([101.224.116.119]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 08 Apr 2022 08:38:19 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 101.224.116.119 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: "'Erdem Aktas'" , "'Sami Mujawar'" , "'Julien Grall'" , "'James Bottomley'" , "'Anthony Perard'" , "'Min Xu'" , "'Oliver Steffen'" , "'Ray Ni'" , "'Ard Biesheuvel'" , "'Jordan Justen'" , "'Jian J Wang'" , "'Tom Lendacky'" , "'Brijesh Singh'" , "'Jiewen Yao'" , "'Leif Lindholm'" , "'Zhichao Gao'" , "'Pawel Polawski'" References: <20220407113617.2217351-1-kraxel@redhat.com> <20220407113617.2217351-2-kraxel@redhat.com> In-Reply-To: <20220407113617.2217351-2-kraxel@redhat.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvM10gTWRlTW9kdWxlUGtnL0dyYXBoaWNzQ29uc29sZUR4ZTogYWRkIG1vZGVz?= Date: Fri, 8 Apr 2022 08:38:12 +0800 Message-ID: <037701d84ae0$f3f9be30$dbed3a90$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJdzSC9clFwq5b4b2nxisu1KY5GxgIkn49eq8kCYoA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao for this patch serials.= =20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Gerd > Hoffmann > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA4=D4=C27=C8=D5 19:36 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Erdem Aktas ; Sami Mujawar > ; Julien Grall ; James Bottomley > ; Anthony Perard ; Min Xu > ; Gerd Hoffmann ; Oliver Steffen > ; Ray Ni ; Ard Biesheuvel > ; Jordan Justen ; > Jian J Wang ; Tom Lendacky > ; Brijesh Singh ; > Jiewen Yao ; Leif Lindholm > ; Liming Gao ; > Zhichao Gao ; Pawel Polawski > > =D6=F7=CC=E2: [edk2-devel] [PATCH 1/3] MdeModulePkg/GraphicsConsoleDxe: a= dd > modes >=20 > Add modes for a few common display resolutions higher than 800x600, > specifically 1024x768, 1280x800 and 1920x1080, so ConSplitterDxe has > more options available. >=20 > The mode list is not use as-is, InitializeGraphicsConsoleTextMode() will > check the list and filter out any modes which don't fit to the screen, > so this will also work fine for small displays. >=20 > Signed-off-by: Gerd Hoffmann > --- > .../Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git > a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole. > c > b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole. > c > index 07436cbd15bf..b895dafedeaa 100644 > --- > a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole. > c > +++ > b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole. > c > @@ -40,7 +40,10 @@ GRAPHICS_CONSOLE_DEV > mGraphicsConsoleDevTemplate =3D { > }; >=20 > GRAPHICS_CONSOLE_MODE_DATA mGraphicsConsoleModeData[] =3D { > - { 100, 31 }, > + { 100, 31 }, // 800 x 600 > + { 128, 40 }, // 1024 x 768 > + { 160, 42 }, // 1280 x 800 > + { 240, 56 }, // 1920 x 1080 > // > // New modes can be added here. > // The last entry is specific for full screen mode. > -- > 2.35.1 >=20 >=20 >=20 >=20 >=20