From b0b25c8e9cd7950e87167a2558f4645a3479e80c Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 21 Mar 2020 20:35:12 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39731 Reviewed-by: Patrick Rudolph Reviewed-by: Matt DeVillier Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/emulation/qemu-q35/mainboard.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/mainboard/emulation/qemu-q35') 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) -- cgit v1.2.3