From 923476d15aa5722c624d9ddf3df7c1d82d11f3ca Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Tue, 1 Nov 2022 11:43:56 -0600 Subject: [PATCH] mb/system76: ADL: Add gfx register for GMA ACPI Add gfx register to System76 ADL boards so GMA ACPI data is generated. Fixes backlight controls on Windows 10 and Linux 6.1. Change-Id: I356e09350ee0f1412409509a2b1695642ae210b3 Signed-off-by: Tim Crawford --- src/mainboard/system76/adl-p/devicetree.cb | 2 ++ src/mainboard/system76/gaze17/variants/3050/overridetree.cb | 2 ++ src/mainboard/system76/gaze17/variants/3060/overridetree.cb | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/mainboard/system76/adl-p/devicetree.cb b/src/mainboard/system76/adl-p/devicetree.cb index 6285851b68..6a9f362ac9 100644 --- a/src/mainboard/system76/adl-p/devicetree.cb +++ b/src/mainboard/system76/adl-p/devicetree.cb @@ -32,6 +32,8 @@ chip soc/intel/alderlake [DDI_PORT_A] = DDI_ENABLE_HPD, [DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC, }" + + register "gfx" = "GMA_DEFAULT_PANEL(0)" end device ref tbt_pcie_rp0 on end device ref shared_sram on end diff --git a/src/mainboard/system76/gaze17/variants/3050/overridetree.cb b/src/mainboard/system76/gaze17/variants/3050/overridetree.cb index dde358af2b..7a4a74d08e 100644 --- a/src/mainboard/system76/gaze17/variants/3050/overridetree.cb +++ b/src/mainboard/system76/gaze17/variants/3050/overridetree.cb @@ -9,6 +9,8 @@ chip soc/intel/alderlake [DDI_PORT_A] = DDI_ENABLE_HPD, [DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC, }" + + register "gfx" = "GMA_DEFAULT_PANEL(0)" end device ref pcie4_0 on # PCIe PEG0 x4, Clock 0 (SSD2) diff --git a/src/mainboard/system76/gaze17/variants/3060/overridetree.cb b/src/mainboard/system76/gaze17/variants/3060/overridetree.cb index 402a43ae03..6e00680bfe 100644 --- a/src/mainboard/system76/gaze17/variants/3060/overridetree.cb +++ b/src/mainboard/system76/gaze17/variants/3060/overridetree.cb @@ -6,6 +6,8 @@ chip soc/intel/alderlake # DDIA is eDP register "ddi_portA_config" = "1" register "ddi_ports_config[DDI_PORT_A]" = "DDI_ENABLE_HPD" + + register "gfx" = "GMA_DEFAULT_PANEL(0)" end device ref pcie4_0 on # PCIe PEG0 x4, Clock 0 (SSD2)