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>
This commit is contained in:
Matt DeVillier 2023-01-23 10:25:51 -06:00 committed by Matt DeVillier
parent 79bca89aa1
commit 458a215809
2 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,7 @@ DefinitionBlock(
{ {
#include <soc/intel/common/block/acpi/acpi/northbridge.asl> #include <soc/intel/common/block/acpi/acpi/northbridge.asl>
#include <soc/intel/jasperlake/acpi/southbridge.asl> #include <soc/intel/jasperlake/acpi/southbridge.asl>
#include <drivers/intel/gma/acpi/default_brightness_levels.asl>
} }
} }

View File

@ -235,7 +235,9 @@ chip soc/intel/jasperlake
device domain 0 on device domain 0 on
device pci 00.0 on end # Host Bridge 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 device pci 04.0 on
# Default DPTF Policy for all Dedede boards if not overridden # Default DPTF Policy for all Dedede boards if not overridden
chip drivers/intel/dptf chip drivers/intel/dptf