diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/tigerlake/acpi/tcss_dma.asl | 22 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/acpi/tcss_pcierp.asl | 12 |
2 files changed, 20 insertions, 14 deletions
diff --git a/src/soc/intel/tigerlake/acpi/tcss_dma.asl b/src/soc/intel/tigerlake/acpi/tcss_dma.asl index 085990dbfd..273a71ec48 100644 --- a/src/soc/intel/tigerlake/acpi/tcss_dma.asl +++ b/src/soc/intel/tigerlake/acpi/tcss_dma.asl @@ -32,12 +32,20 @@ Method (_S0W, 0x0) Method (_PR0) { - Return (Package() { \_SB.PCI0.D3C }) + If (DUID == 0) { + Return (Package() { \_SB.PCI0.D3C, \_SB.PCI0.TBT0 }) + } Else { + Return (Package() { \_SB.PCI0.D3C, \_SB.PCI0.TBT1 }) + } } Method (_PR3) { - Return (Package() { \_SB.PCI0.D3C }) + If (DUID == 0) { + Return (Package() { \_SB.PCI0.D3C, \_SB.PCI0.TBT0 }) + } Else { + Return (Package() { \_SB.PCI0.D3C, \_SB.PCI0.TBT1 }) + } } /* @@ -66,20 +74,10 @@ Name (SD3C, 0) Method (_PS0, 0, Serialized) { - If (DUID == 0) { - \_SB.PCI0.TBT0._ON() - } Else { - \_SB.PCI0.TBT1._ON() - } } Method (_PS3, 0, Serialized) { - If (DUID == 0) { - \_SB.PCI0.TBT0._OFF() - } Else { - \_SB.PCI0.TBT1._OFF() - } } Method (_DSW, 3) diff --git a/src/soc/intel/tigerlake/acpi/tcss_pcierp.asl b/src/soc/intel/tigerlake/acpi/tcss_pcierp.asl index 0453f1c7d4..847d87ea6e 100644 --- a/src/soc/intel/tigerlake/acpi/tcss_pcierp.asl +++ b/src/soc/intel/tigerlake/acpi/tcss_pcierp.asl @@ -213,12 +213,20 @@ Method (_S0W, 0x0, NotSerialized) Method (_PR0) { - Return (Package() { \_SB.PCI0.D3C }) + If ((TUID == 0) || (TUID == 1)) { + Return (Package() { \_SB.PCI0.D3C, \_SB.PCI0.TBT0 }) + } Else { + Return (Package() { \_SB.PCI0.D3C, \_SB.PCI0.TBT1 }) + } } Method (_PR3) { - Return (Package() { \_SB.PCI0.D3C }) + If ((TUID == 0) || (TUID == 1)) { + Return (Package() { \_SB.PCI0.D3C, \_SB.PCI0.TBT0 }) + } Else { + Return (Package() { \_SB.PCI0.D3C, \_SB.PCI0.TBT1 }) + } } /* |