From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.123]) by mx.groups.io with SMTP id smtpd.web12.9717.1637167838646754662 for ; Wed, 17 Nov 2021 08:50:39 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@os.amperecomputing.com header.s=selector2 header.b=d/QAJkZY; spf=pass (domain: os.amperecomputing.com, ip: 40.107.244.123, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bj/2QkjeKRrO4G7zpsc4xKWM83zrwTQ+agSPJnhj8nTO3JY8w3wdptnFUkQjFMebSTi3vR7KO6srtLWTFGENbENguhgn5RRZ4LAXMHTaUqrpp4MY0Cyia77cmWn4RqY9/9I+O2M3pFVG5PFIdd6+DRZxhOBZFcxNXY2PDotwRD+G1cK8rhsVwsWSc+yB6eGBMixvn3roKBnja9fQXpZ4PS97MA6hHg3ShiDpDrfeMVb86oyIIxW7H+XFL3lbYxo8ffBTZqXpqoNYU03drM3Jd2UIS2ESd2PFokPOMGx2uPqRgN7eCv7KsbsWCldLpsuJbqCZbbqep7ubP7uu6h7h9Q== 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=Lzmzckpa6i81TP0gpsnmwed25l7Qo9Zij5jIZvujE3o=; b=T95L3RszP9fdiTWYsitoExnCzPKyzenUJRMF8kHiiv8FnWh9JKvZgg54dsJprbsD4ndIdZvPu+Zw7os5SMaInf7udIt7C1il890BqIxkCT5/5J2KVrAeKdCXx4UBR8zg8g2GB7fZQ8XQyW+4VFonmR/LPBgjPNrY2T6AMbJUaDgCIuqqhL77re9Pbdl9Gsy/UGBAJ+noIjwAAao6mZZ8Ha1OuNG+EyjT0oz7XtPwvwOL8FeoweRsN9LgJvxHmN7CSzV1v4zCVzAbS+/QO1gJEnJBFfS/j3+NkWvtd9P+GR30xfkaprCrQhkrPCu96IIcGzi5p3BEZhw8XokyG1bi8w== 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=Lzmzckpa6i81TP0gpsnmwed25l7Qo9Zij5jIZvujE3o=; b=d/QAJkZYFuta+8NSy0HEuqh1kxdcHf1Ev2lqMpMF6CS6baKqPesgsfeCiy+ZM+K1tRhTSj4Yf//G5/k9q/6sKIDui24chjJJu5OmVj8WssUwTKjrAWXE8RoDGEZlb364HLPZhv8p2KQi4LIkXprTKU7XL3a9TZbhbzhiYVt2kEs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by PH0PR01MB7521.prod.exchangelabs.com (2603:10b6:510:f4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Wed, 17 Nov 2021 16:50:37 +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.4713.019; Wed, 17 Nov 2021 16:50:37 +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 v5 19/30] JadePkg: Add ASpeed GOP driver Date: Wed, 17 Nov 2021 23:47:16 +0700 Message-ID: <20211117164727.10922-20-nhi@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211117164727.10922-1-nhi@os.amperecomputing.com> References: <20211117164727.10922-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: HKAPR04CA0001.apcprd04.prod.outlook.com (2603:1096:203:d0::11) 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 HKAPR04CA0001.apcprd04.prod.outlook.com (2603:1096:203:d0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.21 via Frontend Transport; Wed, 17 Nov 2021 16:50:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f14ac3aa-5513-41ad-2e96-08d9a9ea611a X-MS-TrafficTypeDiagnostic: PH0PR01MB7521: 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: 7BRDwFH/l3Pf7dC8cisxAk0UjUxFrTf954or0basChycbkl/LXlhw1TS8RIzqFoHyV3aiJkIyxu9PwFXzb+xjGEWapbtKfCgnabZwqWgKA+PFYkBf1uKVl0uVC4Z+BIglzo60/qCA4vIaJTJoRWdzbH7Kxv1tUB/qiIfw/bcU7LhaexkNt7yCUraOx2uF8m+WPphxgXbiGi8Nxm4YhmUSJNWEddl3Z3dnyHW/vK9YKBE/R1NH6YqeYJGPkwhvp1Zm+WlHaOg9hRUs/0Q3/4XbPN6xsCaa8wDgLIdQj2UZ18I+MY8SHVIe9SDi5cwED/uAAs3dLOBoG6piW97oUZbFTqS9Xl1irBdSV3O6Jr7YnDBG4QBziSNLkSZdaP9NAleWlVIPv6yKsJpscW7/O/yJOiOJkTmlgnWO+PzspWkSgI1daXTy57curcEqvDq4HCrp9Kqvd5dzomaHLrZtZ8Kn33DhtW/NRcrZmYe3ll786RYWveARabBcUTsczGRcGQ0bz8E/zPp7GSSNS2GCYxU4cIx2XuMrS3ZXTja5a1cqL0I2cjzPsrLpnuZg/MkH/j+1D/7Hd+C4jFR05zkYqXpVlTJLwb9bwnmRjZP/WrqK1wnAsrGI1g87bNoC+GnRrWj87FlcdtYVbZf2TtJ37ybpTUjt3dl2UQwG+ceeDvKUv4EwqinYAswoEaNIaV/91E8i4n1ps8m0yHdrgskRQfudQ== 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)(54906003)(316002)(1076003)(8676002)(6506007)(4326008)(52116002)(86362001)(186003)(6512007)(6916009)(66556008)(2906002)(66476007)(956004)(38100700002)(8936002)(2616005)(38350700002)(6666004)(5660300002)(66946007)(6486002)(508600001)(26005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?bLhZXwZB4HOwaOVEpMYIjLw1sIfFNHELrNjVdfsztBmiWRWKQVjElw1R2Bm/?= =?us-ascii?Q?9unGsmRB7sJrgycc/WG/SFOHfSjywotlr5+WgjrR0i7lvgBn7vrddWiJdG5L?= =?us-ascii?Q?m4KHC4OM3oYo71IQiIommIflCh3slNE4jQyXSNjw7ln3ThNuDYGY141IRfAN?= =?us-ascii?Q?8M1i+t9S0psrx5fDs9s+7UpZDx6i3Pl1krq3BtyCQM7L/weNLXy09oMDAk4h?= =?us-ascii?Q?V+2zpXWxcw0RP7sY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= =?us-ascii?Q?0D7AlsBHY+dt06TXvpIPjMScQRQBEDj2AvoWwsZOouYgOl+qLMKVxfwjNBE2?= =?us-ascii?Q?MTq4R+9sfSx/HbWT80HfemgpMAIjI43dQwHvcKwq2miryMCrlSdUJ6AgA2mm?= =?us-ascii?Q?dMpZztGxARMiu2EsXVEQXxjaR2VTeNVURQ+jDyYtd2ORuBletXSl4nBBWBAT?= =?us-ascii?Q?Z+dQTqP3skLzblpfFwMEk7HgLUf37eo2TDzGmi206ZDGBB2Vn0p4dSaYxFXE?= =?us-ascii?Q?eG90FiNz6RKMSZNDXtKOrSmflsIVeNU4hnMu09f1DE89/wAgr5fHk9LTE2qv?= =?us-ascii?Q?NjVgUOwvQ3nT7bB25b6Sc8StYz29kRCsrdFAR4fc3ITiYizIWLo+IBwdNmS+?= =?us-ascii?Q?iXe34Tt6DsDkLSWWiq4TR9icah8AM1ZE7yR+KmmPp9RDni/iR+WkWYOiOS+i?= =?us-ascii?Q?71v1tkOuQl7Q21HrsSTGcwjrCazmEicLNzgxDS2Eg46ZfO1ojxuvkuf6rpva?= =?us-ascii?Q?oB0p/OQ0z6YrK76a99iBoQ5j536TIuTNdgkq9MecOSjSALb3spNeuVJ9FVL2?= =?us-ascii?Q?jaPdeA4DAqJPIMrcDR1npzylFOo=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: f14ac3aa-5513-41ad-2e96-08d9a9ea611a X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2021 16:50:36.9717 (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: uqZUOzc4b9bT4AdiJK/a9hwQCfWoR2tiJNrMbyoMq6MmQZyzQRDSwgh1CIvsg75HoiZBm8auP2HSbEeBTo41Og5kMiw/CGDSzJcEgmQ8tSk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB7521 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 99c361174974..ebf7d957d70d 100644 --- a/Platform/Ampere/JadePkg/Jade.fdf +++ b/Platform/Ampere/JadePkg/Jade.fdf @@ -297,6 +297,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