mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
defaults: Disable AMFI on Polaris lacking AVX2.0
This commit is contained in:
@@ -2608,7 +2608,8 @@ smbios_dictionary = {
|
||||
"Ethernet Chipset": "Intel 82574L",
|
||||
"Socketed GPUs": "PCIe",
|
||||
"Stock GPUs": [
|
||||
device_probe.NVIDIA.Archs.Tesla
|
||||
device_probe.NVIDIA.Archs.Tesla,
|
||||
device_probe.AMD.Archs.Polaris,
|
||||
],
|
||||
"Stock Storage": [
|
||||
"SATA 3.5",
|
||||
@@ -2625,7 +2626,8 @@ smbios_dictionary = {
|
||||
"Ethernet Chipset": "Intel 82574L",
|
||||
"Socketed GPUs": "PCIe",
|
||||
"Stock GPUs": [
|
||||
device_probe.AMD.Archs.TeraScale_2
|
||||
device_probe.AMD.Archs.TeraScale_2,
|
||||
device_probe.AMD.Archs.Polaris,
|
||||
],
|
||||
"Stock Storage": [
|
||||
"SATA 3.5",
|
||||
|
||||
@@ -196,5 +196,8 @@ class generate_defaults:
|
||||
device_probe.AMD.Archs.Legacy_GCN_7000,
|
||||
device_probe.AMD.Archs.Legacy_GCN_8000,
|
||||
device_probe.AMD.Archs.Legacy_GCN_9000,
|
||||
device_probe.AMD.Archs.Polaris,
|
||||
]:
|
||||
if gpu == device_probe.AMD.Archs.Polaris and smbios_data.smbios_dictionary[model]["CPU Generation"] >= cpu_data.cpu_data.haswell.value:
|
||||
continue
|
||||
settings.disable_amfi = True
|
||||
Reference in New Issue
Block a user