summaryrefslogtreecommitdiff
path: root/src/mainboard/google/glados
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2018-07-16 20:29:10 -0500
committerMatt DeVillier <matt.devillier@gmail.com>2020-04-05 16:53:15 +0000
commit338c8d4b375d9c405cee9252568f06f75ff05dac (patch)
tree2781103c71698843b158856f960c2431dad81259 /src/mainboard/google/glados
parent11cfcdd7842146c6756ffa85667b6e7ef4958031 (diff)
mb/google/glados: Use ACPI brightness controls
Enables ACPI backlight controls under Windows. Test: build/boot chell variant, verify screen backlight controls available and functional under Windows 10. Change-Id: Ida0102ac828254ae195528a8f1de078abed4a491 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40121 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/glados')
-rw-r--r--src/mainboard/google/glados/devicetree.cb3
-rw-r--r--src/mainboard/google/glados/dsdt.asl1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/glados/devicetree.cb b/src/mainboard/google/glados/devicetree.cb
index e9c1cac69c..4e85e21111 100644
--- a/src/mainboard/google/glados/devicetree.cb
+++ b/src/mainboard/google/glados/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/skylake
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
register "gpu_pp_up_delay_ms" = "200"
register "gpu_pp_down_delay_ms" = " 50"
register "gpu_pp_cycle_delay_ms" = "500"
diff --git a/src/mainboard/google/glados/dsdt.asl b/src/mainboard/google/glados/dsdt.asl
index 879e888c4e..7e3a1a2cbf 100644
--- a/src/mainboard/google/glados/dsdt.asl
+++ b/src/mainboard/google/glados/dsdt.asl
@@ -35,6 +35,7 @@ DefinitionBlock(
{
#include <soc/intel/skylake/acpi/systemagent.asl>
#include <soc/intel/skylake/acpi/pch.asl>
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
// Dynamic Platform Thermal Framework