From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: redhat.com, ip: 209.132.183.28, mailfrom: lersek@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by groups.io with SMTP; Fri, 12 Apr 2019 01:06:22 -0700 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 642C530832D3; Fri, 12 Apr 2019 08:06:21 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-65.rdu2.redhat.com [10.10.120.65]) by smtp.corp.redhat.com (Postfix) with ESMTP id F316019C58; Fri, 12 Apr 2019 08:06:18 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH 0/2] MdeModulePkg: Make the screen seamless To: devel@edk2.groups.io, zhichao.gao@intel.com Cc: Jian J Wang , Hao Wu , Ray Ni , Star Zeng , Liming Gao , Sean Brogan , Michael Turner , Bret Barkelew References: <20190412031436.19088-1-zhichao.gao@intel.com> From: "Laszlo Ersek" Message-ID: <85e3937d-65d6-11f1-f786-4c169eed628b@redhat.com> Date: Fri, 12 Apr 2019 10:06:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190412031436.19088-1-zhichao.gao@intel.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Fri, 12 Apr 2019 08:06:21 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 04/12/19 05:14, Gao, Zhichao wrote: > For now most platforms support display function at PEI phase. > But the conspliter and graphics console driver would clear the > screen at BDS connect console phase. Maybe some platforms would > show logo in the next or maybe not. For consumers, it looks like > the screen flashed. > So change the behavior of graphics console devices while connect > console devices to maintain seamless screen from PEI. > > Test has done on MinPlatform Kabylake-RVP3 which support PEI > display. > > Cc: Jian J Wang > Cc: Hao Wu > Cc: Ray Ni > Cc: Star Zeng > Cc: Liming Gao > Cc: Sean Brogan > Cc: Michael Turner > Cc: Bret Barkelew > > Aaron Antone (2): > MdeModulePkg/ConSplitterDxe: Optimize the ConSplitterTextOutSetMode > MdeModulePkg/GraphicsConsoleDxe: Do not clean the screen > > .../Console/ConSplitterDxe/ConSplitter.c | 34 +++++++++----- > .../Console/ConSplitterDxe/ConSplitter.h | 4 +- > .../GraphicsConsoleDxe/GraphicsConsole.c | 45 +++++++++---------- > 3 files changed, 48 insertions(+), 35 deletions(-) > EFI_GRAPHICS_OUTPUT_PROTOCOL.SetMode() is specified to clear the screen to black. Is this series compatible with that? Thanks, Laszlo