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