summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/chip.h
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2016-08-05 02:20:15 -0500
committerMatt DeVillier <matt.devillier@gmail.com>2020-04-02 20:30:58 +0000
commit53e24468f0b31c82565762e51706da72a92aac29 (patch)
treecacc81b721956993a136b376e399570db3858bf4 /src/soc/intel/broadwell/chip.h
parent38641aa8b40ef66e5a5016f6f299a3aa1fb9b0d5 (diff)
downloadcoreboot-53e24468f0b31c82565762e51706da72a92aac29.tar.xz
soc/intel/broadwell: add ACPI backlight support
Add framework to generate ACPI methods in SSDT for screen backlight control. Adjust params for gtt_ methods to match prototypes in i915.h and avoid conflicts. To make use of this, individual boards will need to include default_brightness_levels.asl in their dsdt, as well as add 'register "gfx" = "GMA_STATIC_DISPLAYS(0)"' to their devicetree. Change-Id: If93b7690ef36b5d19ca43957e8a1bef91ec5821d Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39941 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/broadwell/chip.h')
-rw-r--r--src/soc/intel/broadwell/chip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/broadwell/chip.h b/src/soc/intel/broadwell/chip.h
index fabb95ad00..b68da91c03 100644
--- a/src/soc/intel/broadwell/chip.h
+++ b/src/soc/intel/broadwell/chip.h
@@ -15,6 +15,7 @@
#ifndef _SOC_INTEL_BROADWELL_CHIP_H_
#define _SOC_INTEL_BROADWELL_CHIP_H_
+#include <drivers/intel/gma/i915.h>
#include <stdint.h>
struct soc_intel_broadwell_config {
@@ -130,6 +131,8 @@ struct soc_intel_broadwell_config {
*/
int cdclk;
+ struct i915_gpu_controller_info gfx;
+
/* Enable S0iX support */
int s0ix_enable;