From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.136]) by mx.groups.io with SMTP id smtpd.web10.4670.1634883635117597212 for ; Thu, 21 Oct 2021 23:20:35 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@os.amperecomputing.com header.s=selector2 header.b=FiE1X9g/; spf=pass (domain: os.amperecomputing.com, ip: 40.107.220.136, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PbdhuXh2iBGVXr93GxN1q9TVQhdHzs4KreHWgUzlCckQ/psIj0y1TlqSrRqkBBdPruKOhjfrtRnGD/l3Tr8B5BZMH3Pt0pXlQqkBMPUs9mUKRY4A4LLRMI3t7oUNbU4Tcl2dohOTUeHipzqpiyniZY4BQT4w/IWMOL8H/rD5HR2Hh2PTLCaBFyQFjwNKM8NNd89LCxgzYD203kCvVlopL6JBJO5J71HU9C6leW4AERfCGJBRIdBwnnGCyw3k7I2sXXLD64r1K62ebwkII5W6At5xPxkCJxeQr0zXkTrOTMJBdYLzLRrG0G3yN3fSKGaK21nlODXM89zDq1pMhlgmaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uvde3+6slwSy+S4LHNkJ6bvneWWPYVHfh44Be9kH2Y0=; b=IMTbG5rsWDYWp+g3fW1SRBxe81zGT9nu0MsgAr5Ja2yY7RKBFg/wW5Wt6fqmuKrxJKmk/mvZwl8jInWwFJaZ1HSCa8W7QoEHdNjYL9QinsHuY/EVMxDQTXmH1vwP8drOvpjK7+JwesSL8fb3qFoAhtpPhn4pAgvdB+f26A3djpX2PTCoCEu4a6lqfy9j8KeSraR7eE6AqbblssCP8MXuMWLqIAv/wwAvielm2Xwo4UErd32BaPkZNjMLUkSbZ/zibDPrQ7xRqPwwp23xmceZP4Tm8P43n24qoGdNxeLJDJBt5n1fNA9BcYB7oUPtDkqFYgr0+U8g4fNRwu8MpiF/XQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uvde3+6slwSy+S4LHNkJ6bvneWWPYVHfh44Be9kH2Y0=; b=FiE1X9g/vmqWRlFTNBXY8X5Ac8+eggHhYX1pxWGbKEM6LHjHTlihFlw63NYsWO3S9f3LV6RiuGmrvNJOhmt+1IrpmpWu9Atwi6d6Cvv272erneJf6skrhaRFFnQvoncUbbnrnn01XSdaZBgSdKjDbB0DIniJmF0JzNU+xPBbdGE= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=os.amperecomputing.com; Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by PH0PR01MB6325.prod.exchangelabs.com (2603:10b6:510:1e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Fri, 22 Oct 2021 06:20:30 +0000 Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::254c:9533:7f35:aee]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::254c:9533:7f35:aee%4]) with mapi id 15.20.4628.016; Fri, 22 Oct 2021 06:20:30 +0000 From: "Nhi Pham" To: devel@edk2.groups.io CC: patches@amperecomputing.com, nhi@os.amperecomputing.com, vunguyen@os.amperecomputing.com, Thang Nguyen , Chuong Tran , Phong Vo , Leif Lindholm , Michael D Kinney , Ard Biesheuvel , Nate DeSimone Subject: [edk2-platforms][PATCH v4 20/31] JadePkg: Add ASpeed GOP driver Date: Fri, 22 Oct 2021 13:17:58 +0700 Message-ID: <20211022061809.31087-21-nhi@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211022061809.31087-1-nhi@os.amperecomputing.com> References: <20211022061809.31087-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: HK2PR02CA0168.apcprd02.prod.outlook.com (2603:1096:201:1f::28) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) Return-Path: nhi@os.amperecomputing.com MIME-Version: 1.0 Received: from sw004.amperecomputing.com (118.69.219.201) by HK2PR02CA0168.apcprd02.prod.outlook.com (2603:1096:201:1f::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Fri, 22 Oct 2021 06:20:27 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 041d17d1-0612-42ad-992b-08d995240c19 X-MS-TrafficTypeDiagnostic: PH0PR01MB6325: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MYNdMiyQuNRsL1XkD62s+FYmkGA/piPe9gXKGrXTn7C6wGlSpifnsfhsoluqnltbhT5m8Nm44o0IZF9lEWKyHlmupeHxgnVHoU1wFeI0i7XNsTrtuLOzg7oda2l8MPTZqOp/4Fb8uRvhCiPzzvUjtiClhAeO/vI/aeKZ5bGvhsqXv/lWXVpDcZn0VwzMs6JbolPGISisNAuvyObEPViZiw01ODvKqZAOisPzu/waNsoDeCZxaSicJQm7IMMiWhMyJUco9Z0gnvWuDGvZgxzyMHBUk7y+MjpDrrXGfw3rhVLspxLxJ/BGYeS73OTB/Y3Zq174kUw1Kw3ayfUBkxw/daLOPH4q3gWAk6lX5kTjLfhRcLNIrfxcD9EYb/ofl1TKnmaQtVFkg09kEoKmnl1HWQs7moHWeird5e9t1hhjzXiXDcC9Kdwpumvy37VJrs0L8BSaKgtKo/bsStSjhsHgLZUL+92eNPBpQ8F5I8uOo1StWjF0cbK1XKCL8S6eo1ht48hkiMr21DOc2A5JThFkv9lWwU7HeJREsUOl2v7Lo9UnrBNxsW5CIDA/Fn1PJzz30tA5bA5W8NztrYn2K/VLhxRmzxy+i/JAL1obpLEomkTH4PA4t01QK346CMebJbxYyP4/O5UrFWOLpm3NQcnNWtRRYq5A+73gz3KEP+Bomz/iX11OPSCrLEPRs9XYFjUpAM4xsjc5QJtHWeLRuDaP4A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR01MB7287.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(6506007)(5660300002)(6666004)(8936002)(38100700002)(38350700002)(6486002)(186003)(26005)(508600001)(1076003)(316002)(8676002)(54906003)(6916009)(66476007)(66556008)(6512007)(66946007)(86362001)(956004)(4326008)(2616005)(52116002)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ZMhEXvrULjSf53bo83JCE5P2M/AtUPuCoHUi807t0XRvd2AS1ymyiScC1mOM?= =?us-ascii?Q?If8rwfu2Tjwpei+dWymAmGqZgjMsxIMMuhIbio5JakgPUwtvyWT9sQ8RHD8z?= =?us-ascii?Q?u5HkDrbTrLrdWp33onqcLpfiUktHbyTRrcQg5hQeXbha5Gyf55O0FjrJb2qo?= =?us-ascii?Q?FeHSnyBz0/FT1JM6IhLhIhkskKPperbwUStw/jIVKouONkdP+6YFwgwoazv7?= =?us-ascii?Q?2wO1NLb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=?us-ascii?Q?Hm07DzSdKLH5g5OIcDNBHXZppNOHs6hBpMNu2iwGYufkI5gdzme1MhPfUPM3?= =?us-ascii?Q?A0yllj31RwwEcxxkN4YAfuCf/LMQTLOQvisIrTumI0XEgkX5iNFb+p5rCcW+?= =?us-ascii?Q?whvH/Y+QGCVedk8+t0Og97mEIZ4gqfq+V0fKdFG1GIDhKeduESF/8k7ZjI5G?= =?us-ascii?Q?rpp4xV6X5fK4cpuB1cb1gQ6ogfvvOwLu+c6N5vfJ/z/9UANAFKD6Xrk7Tih9?= =?us-ascii?Q?syCtUowfKxTMsHYbO2U0Sq7Vz5kRggWmqXLwcgSAMQRLkFouv0q80vYmKBhR?= =?us-ascii?Q?TmzmHM2FdGAeI6Dp/8vrzawkH6p7EJuFkx7q3wEROoN7PpTN8sruWQ=3D=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 041d17d1-0612-42ad-992b-08d995240c19 X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2021 06:20:30.7744 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nhi@amperemail.onmicrosoft.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB6325 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain This wires up the pre-built binary placed in the edk2-non-osi repository for PCIe VGA Controller support. Cc: Thang Nguyen Cc: Chuong Tran Cc: Phong Vo Cc: Leif Lindholm Cc: Michael D Kinney Cc: Ard Biesheuvel Cc: Nate DeSimone Signed-off-by: Nhi Pham Reviewed-by: Leif Lindholm --- Platform/Ampere/JadePkg/Jade.dsc | 12 ++++++++++++ Platform/Ampere/JadePkg/Jade.fdf | 5 +++++ 2 files changed, 17 insertions(+) diff --git a/Platform/Ampere/JadePkg/Jade.dsc b/Platform/Ampere/JadePkg/Jad= e.dsc index ffba757a6130..76fb7396444a 100644 --- a/Platform/Ampere/JadePkg/Jade.dsc +++ b/Platform/Ampere/JadePkg/Jade.dsc @@ -113,6 +113,13 @@ [PcdsFixedAtBuild.common] !endif =20 =20 +[PcdsPatchableInModule] + # + # Console Resolution (HD mode) + # + gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1024 + gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|768 + ##########################################################################= ###### # # Specific Platform Component @@ -134,3 +141,8 @@ [Components.common] # PCIe # Platform/Ampere/JadePkg/Drivers/PciPlatformDxe/PciPlatformDxe.inf + + # + # VGA Aspeed + # + Drivers/ASpeed/ASpeedGopBinPkg/ASpeedAst2500GopDxe.inf diff --git a/Platform/Ampere/JadePkg/Jade.fdf b/Platform/Ampere/JadePkg/Jad= e.fdf index 19e7cf16697e..ddfe1c945b16 100644 --- a/Platform/Ampere/JadePkg/Jade.fdf +++ b/Platform/Ampere/JadePkg/Jade.fdf @@ -301,6 +301,11 @@ [FV.FvMain] INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf INF Platform/Ampere/JadePkg/Drivers/PciPlatformDxe/PciPlatformDxe.inf =20 + # + # VGA Aspeed + # + INF Drivers/ASpeed/ASpeedGopBinPkg/ASpeedAst2500GopDxe.inf + # # UEFI application (Shell Embedded Boot Loader) # --=20 2.17.1