summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2019-08-22 11:12:15 -0500
committerFelix Held <felix-coreboot@felixheld.de>2021-10-11 12:54:36 +0000
commit64fb9fc53e6fbadc91cadfb823a6c34d89eb8f72 (patch)
treee24bc2c034989d45dbe036d8e40b493628b680b9
parent78a6cae9beb52ff0bab93198063a66872926463e (diff)
downloadcoreboot-64fb9fc53e6fbadc91cadfb823a6c34d89eb8f72.tar.gz
coreboot-64fb9fc53e6fbadc91cadfb823a6c34d89eb8f72.tar.bz2
coreboot-64fb9fc53e6fbadc91cadfb823a6c34d89eb8f72.zip
purism/librem_bdw: add support for ACPI brightness controls
Test: build/boot Purism Librem 13v1, verify brightness controls work under Windows 10/11 with Tianocore payload. Change-Id: I27d04655adcd4a5dd42b025cfccb508cfd7aaeae Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58187 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
-rw-r--r--src/mainboard/purism/librem_bdw/devicetree.cb3
-rw-r--r--src/mainboard/purism/librem_bdw/dsdt.asl1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/purism/librem_bdw/devicetree.cb b/src/mainboard/purism/librem_bdw/devicetree.cb
index b35d98469c51..e8a03a3f6b95 100644
--- a/src/mainboard/purism/librem_bdw/devicetree.cb
+++ b/src/mainboard/purism/librem_bdw/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/broadwell
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
# Enable eDP Hotplug with 6ms pulse
register "gpu_dp_d_hotplug" = "0x06"
diff --git a/src/mainboard/purism/librem_bdw/dsdt.asl b/src/mainboard/purism/librem_bdw/dsdt.asl
index 2ef008573bdf..1179f0cc05d8 100644
--- a/src/mainboard/purism/librem_bdw/dsdt.asl
+++ b/src/mainboard/purism/librem_bdw/dsdt.asl
@@ -24,6 +24,7 @@ DefinitionBlock(
{
#include <northbridge/intel/haswell/acpi/hostbridge.asl>
#include <soc/intel/broadwell/pch/acpi/pch.asl>
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
}