nb/intel/i945: Simplify GMA SSDT generator
commitfd054bc7d46b870a225abffd9f0eb0351dd3c56a
authorMatt DeVillier <matt.devillier@gmail.com>
Tue, 31 Mar 2020 03:18:45 +0000 (30 22:18 -0500)
committerMatt DeVillier <matt.devillier@gmail.com>
Thu, 2 Apr 2020 20:32:34 +0000 (2 20:32 +0000)
treea21cc121fec79d5440476aa2fbefbaee7af80a25
parent33f89eea9ff9ebfcdf95b1eaf66daa92edee4969
nb/intel/i945: Simplify GMA SSDT generator

Simplify generation of GMA SSDT, using updated naming convention.
If acpi_fill_ssdt is being invoked, then we know the IGD device is
present and enabled, so we can skip those checks. And the SSDT
generator now checks that the gfx struct is populated, so we can
skip that too.

Change-Id: I68848516fab2058d4aa96ac0342c883fd1df2d6d
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39958
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
src/northbridge/intel/i945/gma.c