coreboot/src
Simon Yang 743e3a07f5 mb/google/brya/var/nissa: Remove duplicate ACPI device GFX0
Per discussion in CB:87660, this is another approach to fix duplicate
ACPI device GFX0.

The following GFX ACPI device is already declared in nissa/devicetree
by CB:83071, it declare a ACPI gfx device as below:

	device ref igpu on
		register "panel_cfg" = "{
		    .up_delay_ms = 200,
		    .down_delay_ms = 50,
		    .cycle_delay_ms = 500,
		    .backlight_on_delay_ms = 1,
		    .backlight_off_delay_ms = 200,
		    .backlight_pwm_hz = 200,
		}"
		register "gfx" = "GMA_DEFAULT_PANEL(0)"
	end

It will generate an ACPI \_SB.PCI0.GFX0 device.

However, some Nissa projects re-select DRIVERS_GFX_GENERIC in their
overridetree, which results in the generation of a second
\_SB.PCI0.GFX0. This duplication causes iasl to fail when disassembling
the SSDT table.

Error message from iasl:

	File appears to be binary: found 7485 non-ASCII characters, disassembling
	Binary file appears to be a valid ACPI table, disassembling
	Input file SSDT, Length 0x4A03 (18947) bytes
	ACPI: SSDT 0x0000000000000000 004A03 (v02 COREv4 COREBOOT 00000000 CORE 20230628)
	Pass 1 parse of [SSDT]
	Firmware Error (ACPI): Failure creating named object [\_SB.PCI0.GFX0._DOD], AE_ALREADY_EXISTS (20200925/dswload-387)
	ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200925/psobject-264)
	Could not parse ACPI tables, AE_ALREADY_EXISTS

BUG=none
TEST=disassembling SSDT on pujjoniru successfully

Change-Id: I16e9875c12b4e8e42214da5972bed6a02c5567f4
Signed-off-by: Simon Yang <simon1.yang@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87745
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
2025-05-22 14:16:21 +00:00
..
acpi Revert "acpi,Makefile: Add preload_acpi_dsdt" 2025-04-14 13:55:42 +00:00
arch arch/x86: Unify GDT entries 2025-05-08 12:29:24 +00:00
commonlib commonlib/device_tree: Make *path const in dt_find_node() 2025-05-14 18:05:48 +00:00
console
cpu cpu/intel/car: Skip EC software sync in common code 2025-05-18 18:44:28 +00:00
device arch/x86: Unify GDT entries 2025-05-08 12:29:24 +00:00
drivers drivers/spi/winbond.c: Add W25Q64JV signature 2025-05-21 17:18:29 +00:00
ec ec/system76/ec: Add config for 2nd fan without GPU 2025-05-14 18:08:44 +00:00
include soc/intel/xeon_sp: Add support for Emerald Rapids (5th Gen Xeon-SP) CPUs 2025-05-21 17:10:46 +00:00
lib treewide: Assume FMAP_SECTION_FLASH_START = 0 2025-04-18 14:57:05 +00:00
mainboard mb/google/brya/var/nissa: Remove duplicate ACPI device GFX0 2025-05-22 14:16:21 +00:00
northbridge nb/amd/pi/00730F01/northbridge: skip IVRS when IOMMU is disabled 2025-05-16 20:42:08 +00:00
sbom
security security/vboot: Introduce VBOOT_EC_SYNC_ESOL Kconfig option 2025-05-18 18:44:09 +00:00
soc mt8196: Remove mcupm_plat.h header from mcupm_plat.h 2025-05-22 07:54:20 +00:00
southbridge sb/intel/lynxpoint: Add CFR objects for existing options 2025-04-25 14:24:47 +00:00
superio superio/ite/it8772f: Program power state after failure 2025-04-23 14:16:09 +00:00
vendorcode vc/intel/fsp/ptl: Update header files from FSP 3071_00 to FSP 3144_01 2025-05-20 09:28:31 +00:00
Kconfig