Avoid incorrectly setting Minimal spoof on GCN Macs

This commit is contained in:
Mykola Grymalyuk
2021-12-07 20:35:46 -07:00
parent 83cffeb1e5
commit fd2662717c
2 changed files with 28 additions and 1 deletions
+5 -1
View File
@@ -41,7 +41,11 @@ class generate_defaults:
device_probe.AMD.Archs.Navi,
]:
# Allow H.265 on AMD
settings.serial_settings = "Minimal"
try:
smbios_data.smbios_dictionary[model]["Socketed GPUs"]
settings.serial_settings = "Minimal"
except KeyError:
pass
break
elif model in ["MacPro4,1", "MacPro5,1"]:
# Allow H.265 on AMD