blob: e57753888c32da63b93db60009c5d913e39fd585 [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
Matt DeVillierc6589ae2020-11-28 13:17:54 -06003Scope (GFX0)
Matthew Garrett2f62a352018-07-24 14:06:39 -07004{
Matthew Garrett2f62a352018-07-24 14:06:39 -07005 Method (_DOS, 1, NotSerialized)
6 {
7 /* We never do anything in firmware, so _DOS is a noop */
8 }
9 Method (_DOD, 0, NotSerialized)
10 {
11 return (Package (0x03)
12 {
13 0x80000410, /* LCD */
14 0x80000120, /* VGA */
15 0x80000330 /* DP */
16 })
17 }
18 Device (LCD)
19 {
20 Method (_ADR, 0, Serialized)
21 {
22 Return (0x800000410)
23 }
24
25 Method (_BCL, 0, NotSerialized)
26 {
27 Return (Package (0x12)
28 {
29 0x0A,
30 0x0F,
31 0x00,
32 0x01,
33 0x02,
34 0x03,
35 0x04,
36 0x05,
37 0x06,
38 0x07,
39 0x08,
40 0x09,
41 0x0A,
42 0x0B,
43 0x0C,
44 0x0D,
45 0x0E,
46 0x0F
47 })
48 }
49 Method (_BCM, 1, NotSerialized)
50 {
51 \_SB.PCI0.LPCB.EC.BKLG = Arg0
52 }
53 Method (_BQC, 0, NotSerialized)
54 {
55 Return (\_SB.PCI0.LPCB.EC.BKLG)
56 }
57 }
58}