Add AGDP patch for dual GPU models

This commit is contained in:
Mykola Grymalyuk
2020-12-03 09:28:37 -07:00
parent 33df90c399
commit e284214dfb
2 changed files with 28 additions and 0 deletions

View File

@@ -212,6 +212,14 @@ def BuildEFI():
"USB-Map-SMBIOS.kext",
map_name
)
if current_model in ModelArray.DualGPUPatch:
print("- Adding dual GPU patch")
Versions.plist_data = Versions.plist_data.replace(
"debug=0x100",
"debug=0x100 agdpmod=pikera"
)
def BuildGUI():
print("- Adding OpenCanopy GUI")