diff options
author | Nico Huber <nico.h@gmx.de> | 2020-03-21 20:35:12 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2020-03-29 18:10:50 +0000 |
commit | b0b25c8e9cd7950e87167a2558f4645a3479e80c (patch) | |
tree | f0c689b35b31626054572663e8be1f740b0dc4a4 /src/drivers/intel | |
parent | 9af0b15e95e074ae6a433598e8ccee5233173c88 (diff) |
drivers/intel/gma/acpi: Provide default definition for displays
Use it wherever the standard numbers were copied to. Bit 31 is set
at runtime unconditionally, so we don't need it here.
Change-Id: I0d853c3b8250a2c7b2d1a91985a555e4b17ad76c
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39731
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r-- | src/drivers/intel/gma/i915.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/i915.h b/src/drivers/intel/gma/i915.h index ef3aaf5f74..fc7b35ab83 100644 --- a/src/drivers/intel/gma/i915.h +++ b/src/drivers/intel/gma/i915.h @@ -92,6 +92,11 @@ struct i915_gpu_controller_info u32 did[5]; }; +#define GMA_STATIC_DISPLAYS(ssc) { \ + .use_spread_spectrum_clock = (ssc), \ + .ndid = 3, .did = { 0x0100, 0x0240, 0x0410, } \ +} + void drivers_intel_gma_displays_ssdt_generate(const struct i915_gpu_controller_info *conf); const struct i915_gpu_controller_info * |