Files
system76-coreboot/src/mainboard/51nb/x210/acpi/graphics.asl
Elyes HAOUAS 7cf47cfda4 src: Remove unneeded space in license header
Change-Id: Iac0f0c3d102a9a900ac168f8be907349d9a3dd42
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43565
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-07-26 21:07:36 +00:00

60 lines
831 B
Plaintext

/* SPDX-License-Identifier: GPL-2.0-or-later */
Device (GFX0)
{
Name (_ADR, 0x00020000)
Method (_DOS, 1, NotSerialized)
{
/* We never do anything in firmware, so _DOS is a noop */
}
Method (_DOD, 0, NotSerialized)
{
return (Package (0x03)
{
0x80000410, /* LCD */
0x80000120, /* VGA */
0x80000330 /* DP */
})
}
Device (LCD)
{
Method (_ADR, 0, Serialized)
{
Return (0x800000410)
}
Method (_BCL, 0, NotSerialized)
{
Return (Package (0x12)
{
0x0A,
0x0F,
0x00,
0x01,
0x02,
0x03,
0x04,
0x05,
0x06,
0x07,
0x08,
0x09,
0x0A,
0x0B,
0x0C,
0x0D,
0x0E,
0x0F
})
}
Method (_BCM, 1, NotSerialized)
{
\_SB.PCI0.LPCB.EC.BKLG = Arg0
}
Method (_BQC, 0, NotSerialized)
{
Return (\_SB.PCI0.LPCB.EC.BKLG)
}
}
}