From 458a215809a84f6295b51868636100b6cf0df6bc Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 23 Jan 2023 10:25:51 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77271 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/google/dedede/dsdt.asl | 1 + src/mainboard/google/dedede/variants/baseboard/devicetree.cb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google') 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 #include + #include } } 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 -- cgit v1.2.3