From e21455413501f095c4d4b739b6d7e1bb637e9128 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Thu, 12 Sep 2024 10:58:55 +0700 Subject: [PATCH] Remove PCI ID information for AMD GPUs --- Scripts/compatibility_checker.py | 2 +- Scripts/datasets/pci_data.py | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/Scripts/compatibility_checker.py b/Scripts/compatibility_checker.py index 80278d0..20972a5 100644 --- a/Scripts/compatibility_checker.py +++ b/Scripts/compatibility_checker.py @@ -64,7 +64,7 @@ class CompatibilityChecker: if not is_supported_discrete_gpu: self.max_supported_macos_version = self.min_supported_macos_version = (-1, -1, -1) elif "AMD" in gpu_manufacturer: - is_supported_gpu = gpu_props.get("Device ID") in pci_data.AMDGPUIDs + is_supported_gpu = gpu_codename in ("Picasso", "Raven Ridge", "Barcelo", "Renoir", "Cezanne", "Lucienne") if is_supported_gpu: self.max_supported_macos_version = os_data.get_latest_darwin_version() self.min_supported_macos_version = max((19, 0, 0), self.min_supported_macos_version) diff --git a/Scripts/datasets/pci_data.py b/Scripts/datasets/pci_data.py index c63f399..aae74bf 100644 --- a/Scripts/datasets/pci_data.py +++ b/Scripts/datasets/pci_data.py @@ -1,25 +1,3 @@ -AMDGPUIDs = [ - # NootedRed and NootRX - '1002-73DF', - '1002-73AB', - '1002-73A5', - '1002-73BF', - '1002-1636', - '1002-15DD', - '1002-1638', - '1002-73AF', - '1002-73E1', - '1002-73EF', - '1002-73FF', - '1002-73E3', - '1002-15E7', - '1002-73A2', - '1002-73A3', - '1002-164C', - '1002-73E0', - '1002-15D8' -] - BluetoothIDs = [ # BrcmPatchRAM Plugins "0489-E032",