summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-03-21 20:35:12 +0100
committerNico Huber <nico.h@gmx.de>2020-03-29 18:10:50 +0000
commitb0b25c8e9cd7950e87167a2558f4645a3479e80c (patch)
treef0c689b35b31626054572663e8be1f740b0dc4a4 /src/mainboard/emulation
parent9af0b15e95e074ae6a433598e8ccee5233173c88 (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/mainboard/emulation')
-rw-r--r--src/mainboard/emulation/qemu-q35/mainboard.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mainboard/emulation/qemu-q35/mainboard.c b/src/mainboard/emulation/qemu-q35/mainboard.c
index 1784321da0..aea6d41648 100644
--- a/src/mainboard/emulation/qemu-q35/mainboard.c
+++ b/src/mainboard/emulation/qemu-q35/mainboard.c
@@ -25,12 +25,7 @@ static const unsigned char qemu_q35_irqs[] = {
10, 10, 11, 11,
};
-struct i915_gpu_controller_info gfx_controller_info = {
- .ndid = 3,
- .did = {
- 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005
- }
-};
+struct i915_gpu_controller_info gfx_controller_info = GMA_STATIC_DISPLAYS(0);
const struct i915_gpu_controller_info *
intel_gma_get_controller_info(void)