From 7664ad8a2f9204cbf3b4c90ffda157e99a672496 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 8 Mar 2024 10:15:31 -0700 Subject: soc/intel/mtl: Hook up GMA ACPI brightness controls Add function needed to generate ACPI backlight control SSDT, along with Kconfig values for accessing the registers. Change-Id: Ied08e5e9fe4913bd60474ed7dcf88b945172558d Signed-off-by: Jeremy Soller Signed-off-by: Tim Crawford Reviewed-on: https://review.coreboot.org/c/coreboot/+/82729 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/soc/intel/meteorlake/chip.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/soc/intel/meteorlake/chip.h') diff --git a/src/soc/intel/meteorlake/chip.h b/src/soc/intel/meteorlake/chip.h index bf7bd36753..fa657733d8 100644 --- a/src/soc/intel/meteorlake/chip.h +++ b/src/soc/intel/meteorlake/chip.h @@ -4,6 +4,7 @@ #define _SOC_CHIP_H_ #include +#include #include #include #include @@ -528,6 +529,9 @@ struct soc_intel_meteorlake_config { * as per `enum slew_rate` data type. */ uint8_t slow_slew_rate_config[NUM_VR_DOMAINS]; + + /* i915 struct for GMA backlight control */ + struct i915_gpu_controller_info gfx; }; typedef struct soc_intel_meteorlake_config config_t; -- cgit v1.2.3