Skip to content

Commit 923476d

Browse files
committed
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 <tcrawford@system76.com>
1 parent 3af06b3 commit 923476d

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/mainboard/system76/adl-p/devicetree.cb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ chip soc/intel/alderlake
3232
[DDI_PORT_A] = DDI_ENABLE_HPD,
3333
[DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
3434
}"
35+
36+
register "gfx" = "GMA_DEFAULT_PANEL(0)"
3537
end
3638
device ref tbt_pcie_rp0 on end
3739
device ref shared_sram on end

src/mainboard/system76/gaze17/variants/3050/overridetree.cb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ chip soc/intel/alderlake
99
[DDI_PORT_A] = DDI_ENABLE_HPD,
1010
[DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
1111
}"
12+
13+
register "gfx" = "GMA_DEFAULT_PANEL(0)"
1214
end
1315
device ref pcie4_0 on
1416
# PCIe PEG0 x4, Clock 0 (SSD2)

src/mainboard/system76/gaze17/variants/3060/overridetree.cb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ chip soc/intel/alderlake
66
# DDIA is eDP
77
register "ddi_portA_config" = "1"
88
register "ddi_ports_config[DDI_PORT_A]" = "DDI_ENABLE_HPD"
9+
10+
register "gfx" = "GMA_DEFAULT_PANEL(0)"
911
end
1012
device ref pcie4_0 on
1113
# PCIe PEG0 x4, Clock 0 (SSD2)

0 commit comments

Comments
 (0)