From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: zhichao.gao@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Tue, 23 Apr 2019 00:04:54 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 00:04:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,384,1549958400"; d="scan'208";a="145043895" Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga007.fm.intel.com with ESMTP; 23 Apr 2019 00:04:52 -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 V2 0/2] MdeModulePkg: Make the screen seamless Date: Tue, 23 Apr 2019 15:04:48 +0800 Message-Id: <20190423070450.1892-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. 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 (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 | 82 +++++++++++++------ .../GraphicsConsoleDxe/GraphicsConsoleDxe.inf | 3 + 4 files changed, 88 insertions(+), 35 deletions(-) -- 2.21.0.windows.1