summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/acpi/gpu_ec.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/brya/acpi/gpu_ec.asl')
-rw-r--r--src/mainboard/google/brya/acpi/gpu_ec.asl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/acpi/gpu_ec.asl b/src/mainboard/google/brya/acpi/gpu_ec.asl
new file mode 100644
index 0000000000..998d9c0e6a
--- /dev/null
+++ b/src/mainboard/google/brya/acpi/gpu_ec.asl
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#define EC_D_NOTIFY_MASK 0x7
+
+Scope (\_SB.PCI0.LPCB.EC0)
+{
+ /* EC has data for GPU in memmap */
+ Method (_Q0C, 0, Serialized)
+ {
+ Local0 = ToInteger(GPUD) & EC_D_NOTIFY_MASK
+ \_SB.PCI0.PEG0.PEGP.DNOT (Local0)
+ }
+}