From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: zhichao.gao@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by groups.io with SMTP; Sat, 04 May 2019 19:18:15 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 May 2019 19:18:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,431,1549958400"; d="scan'208";a="343690263" Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga006.fm.intel.com with ESMTP; 04 May 2019 19:18:12 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jian J Wang , Hao Wu , Ray Ni , Star Zeng , Liming Gao , Sean Brogan , Michael Turner , Bret Barkelew , Laszlo Ersek Subject: [PATCH V3 0/2] MdeModulePkg: Make the screen seamless Date: Sun, 5 May 2019 10:17:35 +0800 Message-Id: <20190505021738.17060-1-zhichao.gao@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. V2: Make the SetMode not clear the screen only at the first boot during the first conncettion of graphics device. V3: Abandon V2. Directly set the output mode without clear the screen while initialize the graphics console device. Add clear screen operation in stop function of graphics console device. 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 Cc: Laszlo Ersek Aaron Antone (1): MdeModulePkg/ConSplitterDxe: Optimize the ConSplitterTextOutSetMode Zhichao Gao (1): MdeModulePkg/GraphicsConsoleDxe: Initialize the output mode .../Console/ConSplitterDxe/ConSplitter.c | 33 +++++++++----- .../Console/ConSplitterDxe/ConSplitter.h | 4 +- .../GraphicsConsoleDxe/GraphicsConsole.c | 44 ++++++++++++++----- .../GraphicsConsoleDxe/GraphicsConsoleDxe.inf | 2 + 4 files changed, 61 insertions(+), 22 deletions(-) -- 2.21.0.windows.1