Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> for this patch serials.
Thanks Liming > -----邮件原件----- > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Gerd > Hoffmann > 发送时间: 2022年4月7日 19:36 > 收件人: devel@edk2.groups.io > 抄送: Erdem Aktas <erdemak...@google.com>; Sami Mujawar > <sami.muja...@arm.com>; Julien Grall <jul...@xen.org>; James Bottomley > <j...@linux.ibm.com>; Anthony Perard <anthony.per...@citrix.com>; Min Xu > <min.m...@intel.com>; Gerd Hoffmann <kra...@redhat.com>; Oliver Steffen > <ostef...@redhat.com>; Ray Ni <ray...@intel.com>; Ard Biesheuvel > <ardb+tianoc...@kernel.org>; Jordan Justen <jordan.l.jus...@intel.com>; > Jian J Wang <jian.j.w...@intel.com>; Tom Lendacky > <thomas.lenda...@amd.com>; Brijesh Singh <brijesh.si...@amd.com>; > Jiewen Yao <jiewen....@intel.com>; Leif Lindholm > <quic_llind...@quicinc.com>; Liming Gao <gaolim...@byosoft.com.cn>; > Zhichao Gao <zhichao....@intel.com>; Pawel Polawski > <ppola...@redhat.com> > 主题: [edk2-devel] [PATCH 1/3] MdeModulePkg/GraphicsConsoleDxe: add > modes > > Add modes for a few common display resolutions higher than 800x600, > specifically 1024x768, 1280x800 and 1920x1080, so ConSplitterDxe has > more options available. > > 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. > > Signed-off-by: Gerd Hoffmann <kra...@redhat.com> > --- > .../Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > 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 = { > }; > > GRAPHICS_CONSOLE_MODE_DATA mGraphicsConsoleModeData[] = { > - { 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 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#88564): https://edk2.groups.io/g/devel/message/88564 Mute This Topic: https://groups.io/mt/90326672/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-