From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.96.140; helo=cam-smtp0.cambridge.arm.com; envelope-from=evan.lloyd@arm.com; receiver=edk2-devel@lists.01.org Received: from cam-smtp0.cambridge.arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2E2BD22225C16 for ; Fri, 22 Dec 2017 10:29:36 -0800 (PST) Received: from E111747.Emea.Arm.com (e111747.emea.arm.com [10.1.25.75]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id vBMIYOYV007680; Fri, 22 Dec 2017 18:34:24 GMT From: evan.lloyd@arm.com To: edk2-devel@lists.01.org Cc: "ard.biesheuvel@linaro.org"@arm.com, "leif.lindholm@linaro.org"@arm.com, "Matteo.Carlini@arm.com"@arm.com, "nd@arm.com"@arm.com Date: Fri, 22 Dec 2017 18:34:05 +0000 Message-Id: <20171222183418.8616-1-evan.lloyd@arm.com> X-Mailer: git-send-email 2.14.1 Subject: [PATCH v2 00/13] ArmPlatformPkg: Update GOP X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2017 18:29:37 -0000 From: EvanLloyd This patch series addresses comments on the original (https://lists.01.org/pipermail/edk2-devel/2017-September/015321.html) reworking of the Graphics Output Protocol code in ArmPlatformPkg. It also contains updates for the new SCMI protocol. After a number of format and quality modifications, several errors are corrected and new functionality added for Mali DP. The changes are tested on Juno, and FVP. Edk2-platforms changes will follow shortly. Code is available for examination at: https://github.com/EvanLloyd/tianocore/tree/166_gop_v2 Girish Pathak (13): ArmPlatformPkg: Tidy Lcd code: Coding standard ArmPlatformPkg: Tidy Lcd code: Updated comments ArmPlatformPkg: PL111 and HDLCD: add const qualifier ArmPlatformPkg: HDLCD and PL111: Update debug ASSERTS ArmPlatformPkg: PL111Lcd: Replace magic number with macro ArmPlatformPkg: Implement LcdIdentify function for HDLCD GOP ArmPlatformPkg: Redefine LcdPlatformGetTimings function ArmPlatformPkg: Add PCD to select pixel format ArmPlatformPkg: PCD to swap red/blue format for HDLCD ArmPlatformPkg: Additional display modes ArmPlatformPkg: Reserving framebuffer at build ArmPlatformPkg: New DP500/DP550/DP650 GOP driver. ArmPlatformPkg: Introduce SCMI protocol ArmPlatformPkg/ArmPlatformPkg.dec | 18 + ArmPlatformPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf | 48 ++ ArmPlatformPkg/Library/{HdLcd/HdLcd.inf => ArmMaliDp/ArmMaliDp.inf} | 26 +- ArmPlatformPkg/Library/HdLcd/HdLcd.inf | 2 + ArmPlatformPkg/Drivers/ArmScmiDxe/ArmScmiBaseProtocolPrivate.h | 29 ++ ArmPlatformPkg/Drivers/ArmScmiDxe/ArmScmiClockProtocolPrivate.h | 69 +++ ArmPlatformPkg/Drivers/ArmScmiDxe/ArmScmiPerformanceProtocolPrivate.h | 39 ++ ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiDxe.h | 41 ++ ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiPrivate.h | 174 ++++++++ ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.h | 10 +- ArmPlatformPkg/Include/Drivers/ArmScmi.h | 27 ++ ArmPlatformPkg/Include/Drivers/ArmScmiBaseProtocol.h | 182 ++++++++ ArmPlatformPkg/Include/Drivers/ArmScmiClockProtocol.h | 225 ++++++++++ ArmPlatformPkg/Include/Drivers/ArmScmiPerformanceProtocol.h | 274 ++++++++++++ ArmPlatformPkg/Include/Library/ArmMtl.h | 132 ++++++ ArmPlatformPkg/Include/Library/LcdPlatformLib.h | 181 ++++++-- ArmPlatformPkg/Library/ArmMaliDp/ArmMaliDp.h | 243 +++++++++++ ArmPlatformPkg/Library/HdLcd/HdLcd.h | 23 +- ArmPlatformPkg/Drivers/ArmScmiDxe/Scmi.c | 261 +++++++++++ ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiBaseProtocol.c | 320 ++++++++++++++ ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiClockProtocol.c | 419 ++++++++++++++++++ ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiDxe.c | 135 ++++++ ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiPerformanceProtocol.c | 457 ++++++++++++++++++++ ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.c | 197 +++++---- ArmPlatformPkg/Library/ArmMaliDp/ArmMaliDp.c | 414 ++++++++++++++++++ ArmPlatformPkg/Library/HdLcd/HdLcd.c | 185 ++++---- ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.c | 143 ++++-- 27 files changed, 3984 insertions(+), 290 deletions(-) create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf copy ArmPlatformPkg/Library/{HdLcd/HdLcd.inf => ArmMaliDp/ArmMaliDp.inf} (61%) create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ArmScmiBaseProtocolPrivate.h create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ArmScmiClockProtocolPrivate.h create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ArmScmiPerformanceProtocolPrivate.h create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiDxe.h create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiPrivate.h create mode 100644 ArmPlatformPkg/Include/Drivers/ArmScmi.h create mode 100644 ArmPlatformPkg/Include/Drivers/ArmScmiBaseProtocol.h create mode 100644 ArmPlatformPkg/Include/Drivers/ArmScmiClockProtocol.h create mode 100644 ArmPlatformPkg/Include/Drivers/ArmScmiPerformanceProtocol.h create mode 100644 ArmPlatformPkg/Include/Library/ArmMtl.h create mode 100644 ArmPlatformPkg/Library/ArmMaliDp/ArmMaliDp.h create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/Scmi.c create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiBaseProtocol.c create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiClockProtocol.c create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiDxe.c create mode 100644 ArmPlatformPkg/Drivers/ArmScmiDxe/ScmiPerformanceProtocol.c create mode 100644 ArmPlatformPkg/Library/ArmMaliDp/ArmMaliDp.c -- Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")