From bcd90d09a314840f88eae1343d3c3ee994c2c714 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 16 Oct 2020 13:08:42 -0600 Subject: [PATCH] Use MMCONF address for DGPU PCIe registers Change-Id: I6ff555e2695a6495b00af30daefae55cb0a532e7 --- src/drivers/system76/dgpu/acpi/dgpu.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/system76/dgpu/acpi/dgpu.asl b/src/drivers/system76/dgpu/acpi/dgpu.asl index 6f0d058762..62d69efa26 100644 --- a/src/drivers/system76/dgpu/acpi/dgpu.asl +++ b/src/drivers/system76/dgpu/acpi/dgpu.asl @@ -35,7 +35,7 @@ Device (\_SB.PCI0.PEGP.DEV0) { // Memory mapped PCI express registers // 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) { PVID, 16, PDID, 16,