Use MMCONF address for DGPU PCIe registers

Change-Id: I6ff555e2695a6495b00af30daefae55cb0a532e7
This commit is contained in:
Jeremy Soller
2020-10-16 13:08:42 -06:00
parent 87712d8d53
commit bcd90d09a3

View File

@@ -35,7 +35,7 @@ Device (\_SB.PCI0.PEGP.DEV0) {
// Memory mapped PCI express registers // Memory mapped PCI express registers
// Not sure what this stuff is, but it is used to get into GC6 // Not sure what this stuff is, but it is used to get into GC6
OperationRegion (RPCX, SystemMemory, 0xE0008000, 0x1000) OperationRegion (RPCX, SystemMemory, CONFIG_MMCONF_BASE_ADDRESS + 0x8000, 0x1000)
Field (RPCX, ByteAcc, NoLock, Preserve) { Field (RPCX, ByteAcc, NoLock, Preserve) {
PVID, 16, PVID, 16,
PDID, 16, PDID, 16,