gm45: Declare brightness variables for ACPI use.

Change-Id: I23a088919aaac16066e5dd8300a081a8095a93f0
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/6589
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Vladimir Serbinenko 2014-08-10 23:53:42 +02:00
parent e6df041b8b
commit f3155d205e
1 changed files with 16 additions and 0 deletions

View File

@ -23,6 +23,22 @@ Device (GFX0)
{ {
Name (_ADR, 0x00020000) Name (_ADR, 0x00020000)
OperationRegion (GFXC, PCI_Config, 0x00, 0x0100)
Field (GFXC, DWordAcc, NoLock, Preserve)
{
Offset (0x10),
BAR0, 64
}
OperationRegion (GFRG, SystemMemory, And (BAR0, 0xfffffffffffffff0), 0x400000)
Field (GFRG, DWordAcc, NoLock, Preserve)
{
Offset (0x61250),
CR1, 32,
BCLV, 16,
BCLM, 16,
}
/* Display Output Switching */ /* Display Output Switching */
Method (_DOS, 1) Method (_DOS, 1)
{ {