mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 12:00:15 +10:00
Revert MBP8,x AMD patch
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
- Fix AppleALC support in Mojave
|
- Fix AppleALC support in Mojave
|
||||||
- Fix TeraScale 1 GPU detection
|
- Fix TeraScale 1 GPU detection
|
||||||
- Enable Graphics Acceleration on legacy GPUs by default
|
- Enable Graphics Acceleration on legacy GPUs by default
|
||||||
- Automatically disable AMD TeraScale 2 GPUs in MacBook Pros
|
|
||||||
- Fix incorrectly disabling SIP/SMB on Metal GPUs
|
- Fix incorrectly disabling SIP/SMB on Metal GPUs
|
||||||
- Fix error output when rebuilding kernel cache fails
|
- Fix error output when rebuilding kernel cache fails
|
||||||
- Fix Acceleration Linking for Intel Ironlake iGPUs
|
- Fix Acceleration Linking for Intel Ironlake iGPUs
|
||||||
|
|||||||
@@ -510,11 +510,11 @@ class BuildOpenCore:
|
|||||||
plistlib.dump(agpm_config, Path(new_agpm_ls).open("wb"), sort_keys=True)
|
plistlib.dump(agpm_config, Path(new_agpm_ls).open("wb"), sort_keys=True)
|
||||||
plistlib.dump(amc_config, Path(new_amc_ls).open("wb"), sort_keys=True)
|
plistlib.dump(amc_config, Path(new_amc_ls).open("wb"), sort_keys=True)
|
||||||
|
|
||||||
if self.model in ["MacBookPro8,2", "MacBookPro8,3"]:
|
#if self.model in ["MacBookPro8,2", "MacBookPro8,3"]:
|
||||||
print("- Disabling unsupported TeraScale 2 dGPU")
|
# print("- Disabling unsupported TeraScale 2 dGPU")
|
||||||
self.config["NVRAM"]["Add"]["FA4CE28D-B62F-4C99-9CC3-6815686E30F9"]["gpu-power-prefs"] = binascii.unhexlify("01000000")
|
# self.config["NVRAM"]["Add"]["FA4CE28D-B62F-4C99-9CC3-6815686E30F9"]["gpu-power-prefs"] = binascii.unhexlify("01000000")
|
||||||
self.config["NVRAM"]["Delete"]["FA4CE28D-B62F-4C99-9CC3-6815686E30F9"] += ["gpu-power-prefs"]
|
# self.config["NVRAM"]["Delete"]["FA4CE28D-B62F-4C99-9CC3-6815686E30F9"] += ["gpu-power-prefs"]
|
||||||
self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)"] = {"name": binascii.unhexlify("23646973706C6179"), "IOName": "#display", "class-code": binascii.unhexlify("FFFFFFFF")}
|
# self.config["DeviceProperties"]["Add"]["PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)"] = {"name": binascii.unhexlify("23646973706C6179"), "IOName": "#display", "class-code": binascii.unhexlify("FFFFFFFF")}
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_item_by_kv(iterable, key, value):
|
def get_item_by_kv(iterable, key, value):
|
||||||
|
|||||||
Reference in New Issue
Block a user