drivers/intel/gma: fold gma.asl into default_brightness_levels.asl

Including gma.asl at the platform level (vs the board level)
means that even desktop boards need to include the default
brightness levels, which makes no sense. To begin to clean this up,
include gma.asl in default_brightness_levels.asl (as well as
the handful of board-specific brightness files) and remove it
from the various platforms.

A follow-on commit will remove default_brightness_levels.asl
from all boards which lack an internal display.

Change-Id: I8063deeef4ab6d6ab34ed9b0be5b1d541d6e9b6b
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39878
Reviewed-by: Benjamin Doron <benjamin.doron00@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2020-03-27 12:13:41 -05:00 committed by Patrick Georgi
parent 14cf3245fe
commit 6343cd846a
8 changed files with 6 additions and 15 deletions

View File

@ -1,3 +1,5 @@
#include "gma.asl"
Scope (GFX0) Scope (GFX0)
{ {
Name (BRIG, Package (0x12) Name (BRIG, Package (0x12)

View File

@ -11,6 +11,8 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <drivers/intel/gma/acpi/gma.asl>
Scope (GFX0) Scope (GFX0)
{ {
Name (BRIG, Package (13) Name (BRIG, Package (13)

View File

@ -11,6 +11,8 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <drivers/intel/gma/acpi/gma.asl>
Scope (GFX0) Scope (GFX0)
{ {
Name (BRIG, Package (13) Name (BRIG, Package (13)

View File

@ -73,6 +73,3 @@ Device (PDRC)
// PCIe graphics port 0:1.0 // PCIe graphics port 0:1.0
#include "peg.asl" #include "peg.asl"
// Integrated graphics 0:2.0
#include <drivers/intel/gma/acpi/gma.asl>

View File

@ -46,6 +46,3 @@ Device (PDRC)
Return(PDRS) Return(PDRS)
} }
} }
// Integrated graphics 0:2.0
#include <drivers/intel/gma/acpi/gma.asl>

View File

@ -49,6 +49,3 @@ Device (PDRC)
Return(PDRS) Return(PDRS)
} }
} }
// Integrated graphics 0:2.0
#include <drivers/intel/gma/acpi/gma.asl>

View File

@ -53,6 +53,3 @@ Device (PDRC)
Return(PDRS) Return(PDRS)
} }
} }
// Integrated graphics 0:2.0
#include <drivers/intel/gma/acpi/gma.asl>

View File

@ -43,6 +43,3 @@ Device (PDRC)
// PCIe graphics port 0:1.0 // PCIe graphics port 0:1.0
#include "peg.asl" #include "peg.asl"
// Integrated graphics 0:2.0
#include <drivers/intel/gma/acpi/gma.asl>