mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-19 13:46:05 +10:00
Allow iGPU always on iMac13,x
This commit is contained in:
@@ -374,19 +374,6 @@ class BuildOpenCore:
|
|||||||
else:
|
else:
|
||||||
self.config["DeviceProperties"]["Add"][self.gfx0_path] = {"agdpmod": "vit9696"}
|
self.config["DeviceProperties"]["Add"][self.gfx0_path] = {"agdpmod": "vit9696"}
|
||||||
|
|
||||||
if self.model in ["iMac13,1", "iMac13,2", "iMac13,3"]:
|
|
||||||
if not self.constants.custom_model and self.computer.dgpu:
|
|
||||||
if self.constants.allow_ivy_igpu is False:
|
|
||||||
print("- Disabling iGPU to fix sleep support in macOS 12")
|
|
||||||
self.config["DeviceProperties"]["Add"][self.gfx0_path] = {"agdpmod": "vit9696", "shikigva": 256}
|
|
||||||
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x2,0x0)"] = {
|
|
||||||
"name": binascii.unhexlify("23646973706C6179"),
|
|
||||||
"IOName": "#display",
|
|
||||||
"class-code": binascii.unhexlify("FFFFFFFF"),
|
|
||||||
}
|
|
||||||
else:
|
|
||||||
print("- Enabling iGPU upon request")
|
|
||||||
|
|
||||||
# Audio Patch
|
# Audio Patch
|
||||||
if self.model in ModelArray.LegacyAudio:
|
if self.model in ModelArray.LegacyAudio:
|
||||||
print("- Adding audio properties")
|
print("- Adding audio properties")
|
||||||
|
|||||||
Reference in New Issue
Block a user