summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/system76/ec/Kconfig5
-rw-r--r--src/ec/system76/ec/acpi/s76.asl6
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ec/system76/ec/Kconfig b/src/ec/system76/ec/Kconfig
index e9b8091f39..499b7f827c 100644
--- a/src/ec/system76/ec/Kconfig
+++ b/src/ec/system76/ec/Kconfig
@@ -13,6 +13,11 @@ config EC_SYSTEM76_EC_COLOR_KEYBOARD
bool
default n
+config EC_SYSTEM76_EC_DGPU
+ depends on EC_SYSTEM76_EC
+ bool
+ default n
+
config EC_SYSTEM76_EC_OLED
depends on EC_SYSTEM76_EC
bool
diff --git a/src/ec/system76/ec/acpi/s76.asl b/src/ec/system76/ec/acpi/s76.asl
index 62a93bab3d..d641ada1a6 100644
--- a/src/ec/system76/ec/acpi/s76.asl
+++ b/src/ec/system76/ec/acpi/s76.asl
@@ -117,6 +117,9 @@ Device (S76D) {
Method (NFAN, 0, Serialized) {
Return (Package() {
"CPU fan",
+#if CONFIG(EC_SYSTEM76_EC_DGPU)
+ "GPU fan",
+#endif
})
}
@@ -144,6 +147,9 @@ Device (S76D) {
Method (NTMP, 0, Serialized) {
Return (Package() {
"CPU temp",
+#if CONFIG(EC_SYSTEM76_EC_DGPU)
+ "GPU temp",
+#endif
})
}