From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 011541A1E6B for ; Mon, 10 Oct 2016 22:50:51 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 10 Oct 2016 22:50:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,476,1473145200"; d="scan'208";a="178584849" Received: from ray-dev.ccr.corp.intel.com ([10.239.9.25]) by fmsmga004.fm.intel.com with ESMTP; 10 Oct 2016 22:50:51 -0700 From: Ruiyu Ni To: edk2-devel@lists.01.org Date: Tue, 11 Oct 2016 13:50:40 +0800 Message-Id: <20161011055048.217588-1-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.9.0.windows.1 Subject: [PATCH v4 0/8] Add FrameBufferBltLib and GraphicsOutputDxe X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2016 05:50:52 -0000 The patch serials add the FrameBufferBltLib to MdePkg. Based on the library, a generic GOP driver GraphicsOutputDxe is developed and added to MdeModulePkg. OvmfPkg/QemuVideoDxe driver is updated to use this new library. In v4: ArmVirtPkg was also updated because it also uses the QemuVideoDxe driver. QEMU_VIDEO_MODE_DATA.FrameBufferConfigure was removed because it is never referenced. Ruiyu Ni (8): MdeModulePkg: Add FrameBufferBltLib library class MdeModulePkg: Add FrameBufferBltLib library instance MdeModulePkg: Add GraphicsOutputDxe driver. OvmfPkg: Include MdeModulePkg/FrameBufferLib in OvmfPkg ArmVirtPkg: Include MdeModulePkg/FrameBufferLib in ArmVirtPkg OvmfPkg: QemuVideoDxe uses MdeModulePkg/FrameBufferLib OvmfPkg: Remove unused BltLib reference ArmVirtPkg: Remove unused BltLib reference ArmVirtPkg/ArmVirtQemu.dsc | 6 +- ArmVirtPkg/ArmVirtQemuKernel.dsc | 6 +- MdeModulePkg/Include/Library/FrameBufferBltLib.h | 94 +++ .../Library/FrameBufferBltLib/FrameBufferBltLib.c | 704 ++++++++++++++++++++ .../FrameBufferBltLib/FrameBufferBltLib.inf | 34 + MdeModulePkg/MdeModulePkg.dec | 4 + MdeModulePkg/MdeModulePkg.dsc | 3 + .../Console/GraphicsOutputDxe/ComponentName.c | 190 ++++++ .../Console/GraphicsOutputDxe/GraphicsOutput.c | 735 +++++++++++++++++++++ .../Console/GraphicsOutputDxe/GraphicsOutput.h | 59 ++ .../GraphicsOutputDxe/GraphicsOutputDxe.inf | 55 +- OvmfPkg/OvmfPkgIa32.dsc | 6 +- OvmfPkg/OvmfPkgIa32X64.dsc | 6 +- OvmfPkg/OvmfPkgX64.dsc | 6 +- OvmfPkg/QemuVideoDxe/Gop.c | 47 +- OvmfPkg/QemuVideoDxe/Qemu.h | 6 +- OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf | 5 +- 17 files changed, 1900 insertions(+), 66 deletions(-) create mode 100644 MdeModulePkg/Include/Library/FrameBufferBltLib.h create mode 100644 MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.c create mode 100644 MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf create mode 100644 MdeModulePkg/Universal/Console/GraphicsOutputDxe/ComponentName.c create mode 100644 MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutput.c create mode 100644 MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutput.h copy OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf => MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutputDxe.inf (53%) -- 2.9.0.windows.1