Files
system76-coreboot/src/mainboard/system76/galp5/acpi/dgpu.asl
Jeremy Soller cc355edf58 Add tigerlake mainboards
Change-Id: Id239f4bb28a3c755a6ff64d66ec046b0da6c27ef
2021-01-15 10:56:28 -07:00

31 lines
739 B
Plaintext

/* SPDX-License-Identifier: GPL-2.0-only */
Scope (\_SB.PCI0.RP01) {
Device (DEV0) {
Name(_ADR, 0x00000000)
OperationRegion (PCIC, PCI_Config, 0x00, 0x50)
Field (PCIC, DwordAcc, NoLock, Preserve) {
Offset (0x40),
SSID, 32
}
Name (_PR0, Package () { PWRR })
Name (_PR3, Package () { PWRR })
PowerResource (PWRR, 0, 0) {
Name (_STA, 1)
Method (_ON) {
^^SSID = 0x40181558
Printf("GPU _ON %o", ToHexString(^^SSID))
_STA = 1
}
Method (_OFF) {
Printf("GPU _OFF %o", ToHexString(^^SSID))
_STA = 0
}
}
}
}