summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/acpi/gpu_ec.asl2
-rw-r--r--src/mainboard/google/brya/acpi/gpu_top.asl9
2 files changed, 7 insertions, 4 deletions
diff --git a/src/mainboard/google/brya/acpi/gpu_ec.asl b/src/mainboard/google/brya/acpi/gpu_ec.asl
index 998d9c0e6a..59875ad138 100644
--- a/src/mainboard/google/brya/acpi/gpu_ec.asl
+++ b/src/mainboard/google/brya/acpi/gpu_ec.asl
@@ -8,6 +8,6 @@ Scope (\_SB.PCI0.LPCB.EC0)
Method (_Q0C, 0, Serialized)
{
Local0 = ToInteger(GPUD) & EC_D_NOTIFY_MASK
- \_SB.PCI0.PEG0.PEGP.DNOT (Local0)
+ \_SB.PCI0.PEG0.PEGP.DNOT (Local0, 0)
}
}
diff --git a/src/mainboard/google/brya/acpi/gpu_top.asl b/src/mainboard/google/brya/acpi/gpu_top.asl
index e23e3cfa5e..492502c3d4 100644
--- a/src/mainboard/google/brya/acpi/gpu_top.asl
+++ b/src/mainboard/google/brya/acpi/gpu_top.asl
@@ -40,12 +40,15 @@ Scope (\_SB.PCI0.PEG0)
}
}
- /* Current D Notify Value, defaults to D1 */
+ /* Current D Notify Value, defaults to D1
+ * Arg0 == Shared value
+ * Arg1 == force notification if no change (0 or 1)
+ */
Name (CDNV, D1_EC)
- Method (DNOT, 1, Serialized)
+ Method (DNOT, 2, Serialized)
{
Printf ("EC: GPU D-Notify, %o", Arg0)
- If (Arg0 != CDNV)
+ If ((Arg0 != CDNV) || (Arg1 == 1))
{
CDNV = Arg0
Local0 = CNVD (Arg0)