Files
edk2/DasharoPayloadPkg/PciPlatformDxe/PciPlatformDxe.inf
T
Michał Żygowski eedcdea610 DasharoPayloadPkg: Add support for AMD GOP
Modern AMD platforms cannot initialize graphics in 32bit mode (using
PEI GOP or VBIOS), because of UMA memory allocation above 4G by
default. One would have to force the recovery path so that UMA is
allocated below 4G. To allow running AMD x64 GOP, some modifications
are needed. Firstly, the GOP still needs VBIOS, so PCI IO must provide
it from FFS. Then, the GOP driver must also be included in the FFS, so
that DXE dispatcher picks it up and runs it.

TEST=Successfully initialize integrated graphics on MSI PRO B850-P WIFI.
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2026-05-08 10:03:04 +02:00

62 lines
1.6 KiB
INI

## @file
# This driver produces gEfiPciPlatform protocol to load PCI Option ROMs
#
# Copyright (c) 2020, 9elements Agency GmbH
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = PciPlatformDxe
FILE_GUID = 86D58F7B-6E7C-401F-BDD4-E32E6D582AAD
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = InstallPciPlatformProtocol
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64
#
[Sources.common]
PciPlatformDxe.h
PciPlatformDxe.c
[Packages]
DasharoModulePkg/DasharoModulePkg.dec
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
DasharoPayloadPkg/DasharoPayloadPkg.dec
[LibraryClasses]
UefiDriverEntryPoint
UefiBootServicesTableLib
UefiRuntimeServicesTableLib
DxeServicesLib
DxeServicesTableLib
DebugLib
MemoryAllocationLib
BaseMemoryLib
DevicePathLib
UefiLib
HobLib
PcdLib
[Guids]
gDasharoSystemFeaturesGuid
[Protocols]
gEfiPciPlatformProtocolGuid ## PRODUCES
gEfiPciIoProtocolGuid ## COMSUMES
[Pcd]
gDasharoPayloadPkgTokenSpaceGuid.PcdLoadOptionRoms
gEfiMdePkgTokenSpaceGuid.PcdFastBootFeatureEnabled
gDasharoPayloadPkgTokenSpaceGuid.AmdVbiosOptionRomVendorId
gDasharoPayloadPkgTokenSpaceGuid.AmdVbiosOptionRomDeviceId
gDasharoPayloadPkgTokenSpaceGuid.AmdVbiosOptionRomFileName