blob: 218b95758f197718d18401d838ecbb0b4e518663 [file] [log] [blame]
Matthew Garrett2f62a352018-07-24 14:06:39 -07001/* SPDX-License-Identifier: GPL-2.0-or-later */
2/* This file is part of the coreboot project. */
3
4Device (GFX0)
5{
6 Name (_ADR, 0x00020000)
7 Method (_DOS, 1, NotSerialized)
8 {
9 /* We never do anything in firmware, so _DOS is a noop */
10 }
11 Method (_DOD, 0, NotSerialized)
12 {
13 return (Package (0x03)
14 {
15 0x80000410, /* LCD */
16 0x80000120, /* VGA */
17 0x80000330 /* DP */
18 })
19 }
20 Device (LCD)
21 {
22 Method (_ADR, 0, Serialized)
23 {
24 Return (0x800000410)
25 }
26
27 Method (_BCL, 0, NotSerialized)
28 {
29 Return (Package (0x12)
30 {
31 0x0A,
32 0x0F,
33 0x00,
34 0x01,
35 0x02,
36 0x03,
37 0x04,
38 0x05,
39 0x06,
40 0x07,
41 0x08,
42 0x09,
43 0x0A,
44 0x0B,
45 0x0C,
46 0x0D,
47 0x0E,
48 0x0F
49 })
50 }
51 Method (_BCM, 1, NotSerialized)
52 {
53 \_SB.PCI0.LPCB.EC.BKLG = Arg0
54 }
55 Method (_BQC, 0, NotSerialized)
56 {
57 Return (\_SB.PCI0.LPCB.EC.BKLG)
58 }
59 }
60}