From patchwork Fri Dec 8 17:31:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 121220 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp928851qgn; Fri, 8 Dec 2017 09:31:42 -0800 (PST) X-Google-Smtp-Source: AGs4zMaYG1SiWFxRDdH9/b5tPdjTMtft4B/LlfGCEnZkDpGPf/L06pXxEoGBH3CpKLYZyw/X/7i5 X-Received: by 10.84.177.129 with SMTP id x1mr31357752plb.217.1512754302134; Fri, 08 Dec 2017 09:31:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512754302; cv=none; d=google.com; s=arc-20160816; b=L0P+wsF5RlNt5ZhlE2bDad902Z9Ak4XeFqKmQCEzpd1/F7LX0vVcChKZw/m7tSembR fMAYMRC5O7AT3StJ6PaPW+H6W2hqL1bQqU/AZJcUZgTkxqBsWbXF/AdKMa6H/bZcmSgL BQqXXwu9pTYyXsi14Hfj+iGrwuYJVg4oMRkQkRWfveKXWoX8qmEv5XXnIBwTuyVXCCIC MBIgn9hoRNsgPoHZ/3wQRu5Z3TnbRDUNUeR18xbJvKMciodHkJibpFrSwlw3Ajmn2v+M swqZpAX7Jqa75lOqiXCMJYgye1ZDJ5aUnLTpCgk48BEG4nrT4SBu/fNmyhhL0XJuxPrP qMMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=p4Q1nv3yrxmLMAMf6pUlVJ4/30CvQ0bA7tVwDfBEG40=; b=LhXLZLib6qjdp48t6z74xcjBZOTLDTHjMNnj6yZdHbVY9eTTp+mV+2ygA5Ne8IYb0h 4dvrvQM/eQjgWt+U+oU45mWr2TKik9T35LUGDVPFJhxXbJaZGy4pw2SFb2ATUK7WoZJw XHy6coRTyMJ93jDrQ4huiVjbzh2ZNQu1xdyUh8czSv5fZHoLahmnqZgKq9O9XLzfxdD1 FPyJb8xito6xV2YMiRItMC4wrXaNc/VukfVOqwcw2GutSy6hMODE31A7qy0b+YlHTWxx IPnsjmu4IN4zuTn8HJnAYKp6qIRY/SNj3vTss9o3f4Ok6JnfDPY5qQTAtVfVmt3DVzfP csdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NjwguceZ; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id g193si5787808pgc.630.2017.12.08.09.31.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Dec 2017 09:31:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NjwguceZ; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id F2202221EA0BC; Fri, 8 Dec 2017 09:27:06 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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-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 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: [edk2] [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: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel