Add inital VBIOS and DISABLE Guide

This commit is contained in:
Mykola Grymalyuk
2020-02-14 12:21:56 -07:00
parent 833ac33120
commit 089f6f823f
7 changed files with 200 additions and 1 deletions

View File

@@ -0,0 +1,46 @@
// Used for disabling unsupported GPUs in macOS
DefinitionBlock ("", "SSDT", 2, "Slav", "spoof", 0x00000000)
{
External (_SB_.PCI0.PEG0.PEGP, DeviceObj)
Method (_SB.PCI0.PEG0.PEGP._DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
If ((!Arg2 || (_OSI ("Darwin") == Zero)))
{
Return (Buffer (One)
{
0x03 // .
})
}
Return (Package (0x0A)
{
"name",
Buffer (0x09)
{
"#display"
},
"IOName",
"#display",
"class-code",
Buffer (0x04)
{
0xFF, 0xFF, 0xFF, 0xFF // ....
},
"vendor-id",
Buffer (0x04)
{
0xFF, 0xFF, 0x00, 0x00 // ....
},
"device-id",
Buffer (0x04)
{
0xFF, 0xFF, 0x00, 0x00 // ....
}
})
}
}

Binary file not shown.