diff options
author | Jeremy Soller <jackpot51@gmail.com> | 2024-03-08 10:15:31 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-09-19 15:25:00 +0000 |
commit | 7664ad8a2f9204cbf3b4c90ffda157e99a672496 (patch) | |
tree | f4be6e584fbf98b8188ec0d8116db64c65eb6b93 /src/soc/intel/meteorlake/chip.h | |
parent | 5105888e2d227faf60418a9d6ac8a070462d1fce (diff) |
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 <jeremy@sysetm76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82729
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/intel/meteorlake/chip.h')
-rw-r--r-- | src/soc/intel/meteorlake/chip.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <drivers/i2c/designware/dw_i2c.h> +#include <drivers/intel/gma/gma.h> #include <device/pci_ids.h> #include <gpio.h> #include <intelblocks/cfg.h> @@ -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; |