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 4074221EC8D1A for ; Tue, 26 Sep 2017 13:12:25 -0700 (PDT) Received: from E111747.Emea.Arm.com (e111747.emea.arm.com [10.1.27.40]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id v8QKFY5P017392; Tue, 26 Sep 2017 21:15:34 +0100 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, "Stephanie.Hughes-Fitt@arm.com"@arm.com Date: Tue, 26 Sep 2017 21:15:10 +0100 Message-Id: <20170926201529.11644-1-evan.lloyd@arm.com> X-Mailer: git-send-email 2.14.1 Subject: [PATCH 00/19] ArmPlatformPkg: Update GOP X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2017 20:12:26 -0000 From: EvanLloyd This unfortunately large patch series provides a significant reworking of the Graphics Output Protocol code in ArmPlatformPkg. After a number of format and quality modifications, several errors are corrected and new functionality added for Mali DP. Although the HdLcd changes are tested on Juno, they will not work on recent builds because of a dependency on the SCP (for clock control). A new version of the MHU and SCPI drivers will be submitted next quarter, once the new interface code is tested. Build changes for FVP will be submitted to edk2-platforms very shortly (but probably not tonight). Code is available for examination at: https://github.com/EvanLloyd/tianocore/tree/166_gop_v1 EvanLloyd (1): ArmPlatformPkg: HdLcd Remove redundant Bpp Girish Pathak (18): ArmPlatformPkg: Tidy LcdGraphicsOutputDxe code: Coding standard ArmPlatformPkg: Tidy LcdGraphicsOutputDxe code: Added comments ArmPlatformPkg: PL111 and HDLCD: add const qualifier ArmPlatformPkg: LcdGraphicsOurputDxe: Add debug asserts ArmPlatformPkg: PL111LcdArmVExpressLib: Minor code cleanup ArmPlatformPkg: PL111Lcd: Replace magic number with macro ArmPlatformPkg: PL111LcdArmVExpressLib: Use FixedPcdGet32 ArmPlatformPkg: PL11LcdArmVExpressLib: Improvement conditional ArmPlatformPkg: HdLcdArmVExpressLib: Use FixedPcdGet32 ArmPlatformPkg: HdLcdArmVExpressLib: Remove status check EFI_TIMEOUT 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: Reorganize Lcd Graphics Output ArmPlatformPkg: Additional display modes ArmPlatformPkg: Reserving framebuffer at build ArmPlatformPkg: New DP500/DP550/DP650 GOP driver. ArmPlatformPkg/ArmPlatformPkg.dec | 20 +- ArmPlatformPkg/ArmVExpressPkg/ArmVExpressPkg.dec | 4 +- ArmPlatformPkg/ArmVExpressPkg/Library/ArmMaliDpLib/ArmMaliDpLib.inf | 45 ++ ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf | 7 +- ArmPlatformPkg/ArmVExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpressLib.inf | 15 +- ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf | 11 +- ArmPlatformPkg/Drivers/{LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf => ArmMaliDp/ArmMaliDp.inf} | 33 +- ArmPlatformPkg/Drivers/{LcdGraphicsOutputDxe/HdLcdGraphicsOutputDxe.inf => HdLcd/HdLcd.inf} | 30 +- ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/{PL111LcdGraphicsOutputDxe.inf => LcdGraphicsOutputDxe.inf} | 17 +- ArmPlatformPkg/Drivers/{LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf => PL111Lcd/PL111Lcd.inf} | 30 +- ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.h | 32 +- ArmPlatformPkg/Include/Drivers/ArmMaliDp.h | 249 +++++++++++ ArmPlatformPkg/Include/Drivers/HdLcd.h | 4 +- ArmPlatformPkg/Include/Drivers/LcdHw.h | 64 +++ ArmPlatformPkg/Include/Library/LcdPlatformLib.h | 169 +++++-- ArmPlatformPkg/ArmVExpressPkg/Library/ArmMaliDpLib/ArmMaliDpLib.c | 377 ++++++++++++++++ ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSMMem.c | 29 +- ArmPlatformPkg/ArmVExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpress.c | 313 ++++++++----- ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpress.c | 463 ++++++++++++-------- ArmPlatformPkg/Drivers/ArmMaliDp/ArmMaliDp.c | 412 +++++++++++++++++ ArmPlatformPkg/Drivers/HdLcd/HdLcd.c | 202 +++++++++ ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c | 133 ------ ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.c | 132 +++--- ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c | 126 ------ ArmPlatformPkg/Drivers/PL111Lcd/PL111Lcd.c | 180 ++++++++ 25 files changed, 2310 insertions(+), 787 deletions(-) create mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmMaliDpLib/ArmMaliDpLib.inf copy ArmPlatformPkg/Drivers/{LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf => ArmMaliDp/ArmMaliDp.inf} (50%) rename ArmPlatformPkg/Drivers/{LcdGraphicsOutputDxe/HdLcdGraphicsOutputDxe.inf => HdLcd/HdLcd.inf} (53%) copy ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/{PL111LcdGraphicsOutputDxe.inf => LcdGraphicsOutputDxe.inf} (76%) rename ArmPlatformPkg/Drivers/{LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf => PL111Lcd/PL111Lcd.inf} (56%) create mode 100644 ArmPlatformPkg/Include/Drivers/ArmMaliDp.h create mode 100644 ArmPlatformPkg/Include/Drivers/LcdHw.h create mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmMaliDpLib/ArmMaliDpLib.c create mode 100644 ArmPlatformPkg/Drivers/ArmMaliDp/ArmMaliDp.c create mode 100644 ArmPlatformPkg/Drivers/HdLcd/HdLcd.c delete mode 100644 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c delete mode 100644 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c create mode 100644 ArmPlatformPkg/Drivers/PL111Lcd/PL111Lcd.c -- Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")