-
Notifications
You must be signed in to change notification settings - Fork 86
/
SSDT_SKLSPF.dsl
85 lines (84 loc) · 3.52 KB
/
SSDT_SKLSPF.dsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// SSDT-SKLSPF.dsl
//
// The purpose of this file is to allow KabyLake systems to spoof Skylake graphics.
// Just include the built version of this file in ACPI/patched.
DefinitionBlock("", "SSDT", 2, "hack", "_SKLSPF", 0)
{
Name(RMGO, Package()
{
// Kaby Lake/HD615
0x591e, 0, Package()
{
"AAPL,ig-platform-id", Buffer() { 0x00, 0x00, 0x1e, 0x19 },
"hda-gfx", Buffer() { "onboard-1" },
"model", Buffer() { "Intel HD Graphics 615" },
"device-id", Buffer() { 0x1e, 0x19, 0x00, 0x00 },
//"RM,device-id", Buffer() { 0x1e, 0x19, 0x00, 0x00 },
//"AAPL,GfxYTile", Buffer() { 1, 0, 0, 0 },
},
// Kaby Lake/HD620
0x5916, 0, Package()
{
"AAPL,ig-platform-id", Buffer() { 0x00, 0x00, 0x16, 0x19 },
"hda-gfx", Buffer() { "onboard-1" },
"model", Buffer() { "Intel HD Graphics 620" },
"device-id", Buffer() { 0x16, 0x19, 0x00, 0x00 },
//"RM,device-id", Buffer() { 0x16, 0x19, 0x00, 0x00 },
//"AAPL,GfxYTile", Buffer() { 1, 0, 0, 0 },
},
// Kaby Lake/HD620
0x5917, 0, Package()
{
"AAPL,ig-platform-id", Buffer() { 0x00, 0x00, 0x16, 0x19 },
"hda-gfx", Buffer() { "onboard-1" },
"model", Buffer() { "Intel HD Graphics 620" },
"device-id", Buffer() { 0x16, 0x19, 0x00, 0x00 },
//"RM,device-id", Buffer() { 0x16, 0x19, 0x00, 0x00 },
//"AAPL,GfxYTile", Buffer() { 1, 0, 0, 0 },
},
// Kaby Lake/HD630
0x5912, 0, Package()
{
"AAPL,ig-platform-id", Buffer() { 0x00, 0x00, 0x12, 0x19 },
"hda-gfx", Buffer() { "onboard-1" },
"model", Buffer() { "Intel HD Graphics 630" },
"device-id", Buffer() { 0x12, 0x19, 0x00, 0x00 },
//"RM,device-id", Buffer() { 0x12, 0x19, 0x00, 0x00 },
//"AAPL,GfxYTile", Buffer() { 1, 0, 0, 0 },
},
// Kaby Lake/HD630
0x591b, 0, Package()
{
"AAPL,ig-platform-id", Buffer() { 0x00, 0x00, 0x1b, 0x19 },
"hda-gfx", Buffer() { "onboard-1" },
"model", Buffer() { "Intel HD Graphics 630" },
"device-id", Buffer() { 0x1b, 0x19, 0x00, 0x00 },
//"RM,device-id", Buffer() { 0x1b, 0x19, 0x00, 0x00 },
//"AAPL,GfxYTile", Buffer() { 1, 0, 0, 0 },
},
// Kaby Lake/HD640
0x5926, 0, Package()
{
"AAPL,ig-platform-id", Buffer() { 0x02, 0x00, 0x26, 0x19 },
"hda-gfx", Buffer() { "onboard-1" },
"model", Buffer() { "Intel Iris Plus Graphics 640" },
"device-id", Buffer() { 0x26, 0x19, 0x00, 0x00 },
//"RM,device-id", Buffer() { 0x26, 0x19, 0x00, 0x00 },
//"AAPL,GfxYTile", Buffer() { 1, 0, 0, 0 },
},
// Kaby Lake/HD650
0x5927, 0, Package()
{
//REVIEW: could use 0x19270000 or 0x19270004 (macOS only)
"AAPL,ig-platform-id", Buffer() { 0x02, 0x00, 0x26, 0x19 },
"hda-gfx", Buffer() { "onboard-1" },
"model", Buffer() { "Intel Iris Plus Graphics 650" },
//REVIEW: using 0x1926 because 0x1927 is not supported on 10.11.x
"device-id", Buffer() { 0x26, 0x19, 0x00, 0x00 },
//REVIEW: using 0x1926 because 0x1927 is not supported on 10.11.x
//"RM,device-id", Buffer() { 0x26, 0x19, 0x00, 0x00 },
//"AAPL,GfxYTile", Buffer() { 1, 0, 0, 0 },
},
})
}
//EOF