From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9FE522218E951 for ; Fri, 8 Dec 2017 09:27:04 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id v105so11507327wrc.3 for ; Fri, 08 Dec 2017 09:31:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=vbhYM8PY7b5bEmqqwowCKpsvAu265z27RJ8qcJM+RH8=; b=NjwguceZ64P+h54zKfNIBYU2QJXsUksawZxvaJc0F3LslMxnXFv5vk1tlATtYFy3kX swCYY9oEffRDtzio6EHyJ3zLIF7EjRCjcoKA+h+QeJ04Vgj7qnEP6ScKRi4WPW/iNwJt TQcS7EgZLXJkv5uMAh3+32Z86d1eVLSSol58I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vbhYM8PY7b5bEmqqwowCKpsvAu265z27RJ8qcJM+RH8=; b=cRBbBo50VIDsPr0O9F8nxU6/qnY7qViHHcTshy6wq36FS6xGEbHSmNEqtBq7hRYIJG weUfOqVZp3V3nJ+0AvvrNo7Vi5opLzFk+gjdLkSF75fAFca/HBN6xx26zsBfWdlr5gZM FkQkL/vajjyLjcLRi/JhkXxGGgj92tgY1Z0VgbmcOLXDU2Yz43Gtpdcm5XG4/aotTmnp tnO5NVh20TkSSuNPsZA6DGZ7oCIlAl9Jv8H7/+ZqTDZxOnswDxvwzKvnAQshRRkFdqfa 9PxljSYYGeXabB1IJaNAovQdFhkLejwJoodJPHmqtYcH6kDfCo6XIK6KJuVjG3VSZVET cwaA== X-Gm-Message-State: AJaThX7MKZpO4IYr/4IQkimIbjdksnamtNZ3t/nAwTUJq/HV07QgdTZR 1abxja98TNxlipgLiof5MLDqsklfKFc= X-Google-Smtp-Source: AGs4zMbP+lpUyPRqLsoNHHvnaBb8xPee7pZVbhn1OdVl6WFr5Ac+wpEmeJHkjUvurAbJ9j0D1veAsQ== X-Received: by 10.223.195.113 with SMTP id e46mr26432428wrg.149.1512754297157; Fri, 08 Dec 2017 09:31:37 -0800 (PST) Received: from localhost.localdomain ([160.171.158.223]) by smtp.gmail.com with ESMTPSA id q15sm8904685wra.91.2017.12.08.09.31.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Dec 2017 09:31:36 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, Ard Biesheuvel , Girish Pathak , Evan Lloyd Date: Fri, 8 Dec 2017 17:31:23 +0000 Message-Id: <20171208173128.28485-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [PATCH v2 0/5] ArmPlatformPkg: refactor LcdGraphicsOutputDxe driver 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: Fri, 08 Dec 2017 17:27:05 -0000 This is a rework of the patch 'ArmPlatformPkg: Reorganize Lcd Graphics Output' sent out by Evan on September 26 [0] I have split it up for easier review, and droppped then changes to VExpress specific libraries and instead, moved those into edk2-platforms. A separate series is forthcoming. All patches of this series except the last one can be merged before the edk2-platforms series. The purpose is to separate the LCD output graphics driver from ARM VExpress specific details, so that the core code can be reused more easily, and the platform specific code moved out of the main EDK2 repository. v2: the VExpress specific bits are already gone, so what remains is the refactoring of LcdGraphicsOutputDxe itself. Cc: Girish Pathak Cc: Evan Lloyd [0] https://lists.01.org/pipermail/edk2-devel/2017-September/015337.html Ard Biesheuvel (5): ArmPlatformPkg: introduce LcdHwLib library class ArmPlatformPkg: implement LcdHwLib for PL111 ArmPlatformPkg: implement LcdHwLib for HdLcd ArmPlatformPkg: create hw-agnostic LcdGraphicsOutputDxe driver ArmPlatformPkg: remove old PL111/HdLcd driver code ArmPlatformPkg/ArmPlatformPkg.dec | 1 + ArmPlatformPkg/ArmPlatformPkg.dsc | 5 +- ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.h | 21 +----- ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/{PL111LcdGraphicsOutputDxe.inf => LcdGraphicsOutputDxe.inf} | 32 ++++----- ArmPlatformPkg/Include/Library/LcdHwLib.h | 68 ++++++++++++++++++ ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe => Library/HdLcd}/HdLcd.c | 28 +++++++- ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe => Library/HdLcd}/HdLcd.h | 0 ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe/HdLcdGraphicsOutputDxe.inf => Library/HdLcd/HdLcd.inf} | 32 ++------- ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.c | 75 ++++++++++++++++++++ ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf | 28 ++++++++ ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe => Library/PL111Lcd}/PL111Lcd.c | 5 +- ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe => Library/PL111Lcd}/PL111Lcd.h | 0 ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.inf | 40 +++++++++++ 13 files changed, 266 insertions(+), 69 deletions(-) rename ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/{PL111LcdGraphicsOutputDxe.inf => LcdGraphicsOutputDxe.inf} (73%) create mode 100644 ArmPlatformPkg/Include/Library/LcdHwLib.h rename ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe => Library/HdLcd}/HdLcd.c (86%) rename ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe => Library/HdLcd}/HdLcd.h (100%) rename ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe/HdLcdGraphicsOutputDxe.inf => Library/HdLcd/HdLcd.inf} (56%) create mode 100644 ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.c create mode 100644 ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf rename ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe => Library/PL111Lcd}/PL111Lcd.c (94%) rename ArmPlatformPkg/{Drivers/LcdGraphicsOutputDxe => Library/PL111Lcd}/PL111Lcd.h (100%) create mode 100644 ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.inf -- 2.11.0