Add partial TeraScale 2 support

This commit is contained in:
Mykola Grymalyuk
2021-05-08 22:04:33 -06:00
parent a458b68f2b
commit 78038b9607
3 changed files with 6 additions and 17 deletions
+2 -4
View File
@@ -136,12 +136,10 @@ class PatchSysVolume:
# print("- Merging legacy Nvidia Kepler Kexts and Bundles")
# self.add_new_binaries(ModelArray.AddNvidiaKeplerAccel11, self.constants.legacy_nvidia_kepler_path)
elif dgpu_vendor == self.constants.pci_amd_ati:
if dgpu_device in PCIIDArray.amd_ids().terascale_1_ids:
print("- Merging legacy TeraScale 1 AMD Kexts and Bundles")
if dgpu_device in PCIIDArray.amd_ids().terascale_1_ids or dgpu_device in PCIIDArray.amd_ids().terascale_2_ids:
print("- Merging legacy AMD Kexts and Bundles")
self.delete_old_binaries(ModelArray.DeleteAMDAccel11)
self.add_new_binaries(ModelArray.AddAMDAccel11, self.constants.legacy_amd_path)
#elif dgpu_device in PCIIDArray.amd_ids().terascale_2_ids:
# print("- Merging legacy AMD TeraScale 2 Kexts and Bundles")
if igpu_vendor:
print(f"- Found IGPU: {igpu_vendor}:{igpu_device}")
if igpu_vendor == self.constants.pci_intel: