Matt DeVillier submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
mb/google/eve: Use ACPI backlight controls

Enables backlight control under Windows.

Test: build/boot eve, verify screen backlight controls
available and functional under Windows 10.

Change-Id: Id4477d2ec71aefb4c9d2ead31cd5fd3bfad51981
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40122
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
---
M src/mainboard/google/eve/devicetree.cb
M src/mainboard/google/eve/dsdt.asl
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mainboard/google/eve/devicetree.cb b/src/mainboard/google/eve/devicetree.cb
index 50f9114..564b45d 100644
--- a/src/mainboard/google/eve/devicetree.cb
+++ b/src/mainboard/google/eve/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/skylake

+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
register "gpu_pp_up_delay_ms" = "100"
register "gpu_pp_down_delay_ms" = "500"
register "gpu_pp_cycle_delay_ms" = "500"
diff --git a/src/mainboard/google/eve/dsdt.asl b/src/mainboard/google/eve/dsdt.asl
index ea0424a..8b07dab 100644
--- a/src/mainboard/google/eve/dsdt.asl
+++ b/src/mainboard/google/eve/dsdt.asl
@@ -39,6 +39,7 @@
{
#include <soc/intel/skylake/acpi/systemagent.asl>
#include <soc/intel/skylake/acpi/pch.asl>
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
}


To view, visit change 40122. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id4477d2ec71aefb4c9d2ead31cd5fd3bfad51981
Gerrit-Change-Number: 40122
Gerrit-PatchSet: 2
Gerrit-Owner: Matt DeVillier <matt.devillier@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged