diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2023-01-23 10:25:51 -0600 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-08-18 14:13:18 +0000 |
commit | 458a215809a84f6295b51868636100b6cf0df6bc (patch) | |
tree | f3a6633457ccac91f5a029f1a5a6d7c24c19e36a | |
parent | 79bca89aa1f657f27e39dcbc0339f48fccc3684a (diff) |
mb/google/dedede: Add ACPI display brightness support
Add support for ACPI display brightness controls, so that panel
adjustment is available under Windows.
TEST=build/boot Win11 on google/magpie, verify panel brightness
controls available and functional.
Change-Id: I66daa6bbca15046994dff83bee6e7cf99aae0b33
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77271
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/mainboard/google/dedede/dsdt.asl | 1 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/baseboard/devicetree.cb | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/dsdt.asl b/src/mainboard/google/dedede/dsdt.asl index 56812d5a20..c99f4c76c3 100644 --- a/src/mainboard/google/dedede/dsdt.asl +++ b/src/mainboard/google/dedede/dsdt.asl @@ -23,6 +23,7 @@ DefinitionBlock( { #include <soc/intel/common/block/acpi/acpi/northbridge.asl> #include <soc/intel/jasperlake/acpi/southbridge.asl> + #include <drivers/intel/gma/acpi/default_brightness_levels.asl> } } diff --git a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb index cb82290eb0..f2aced26a0 100644 --- a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb @@ -235,7 +235,9 @@ chip soc/intel/jasperlake device domain 0 on device pci 00.0 on end # Host Bridge - device pci 02.0 on end # Integrated Graphics Device + device pci 02.0 on + register "gfx" = "GMA_DEFAULT_PANEL(0)" + end # Integrated Graphics Device device pci 04.0 on # Default DPTF Policy for all Dedede boards if not overridden chip drivers/intel/dptf |