sys_patch_dict: Fix OpenCL on non-AVX2 legacy GCN

This commit is contained in:
Mykola Grymalyuk
2022-10-06 19:44:11 -06:00
parent 5aa7ab3b0f
commit 5a2afa4fa7
4 changed files with 26 additions and 3 deletions
+2
View File
@@ -516,6 +516,8 @@ class detect_root_patch:
required_patches.update({"Monterey GVA": all_hardware_patchset["Graphics"]["Monterey GVA"]})
required_patches.update({"Monterey OpenCL": all_hardware_patchset["Graphics"]["Monterey OpenCL"]})
required_patches.update({"AMD Legacy GCN": all_hardware_patchset["Graphics"]["AMD Legacy GCN"]})
if "AVX2" not in self.constants.computer.cpu.leafs:
required_patches.update({"AMD OpenCL": all_hardware_patchset["Graphics"]["AMD OpenCL"]})
if hardware_details["Brightness: Legacy Backlight Control"] is True:
required_patches.update({"Legacy Backlight Control": all_hardware_patchset["Brightness"]["Legacy Backlight Control"]})
if hardware_details["Audio: Legacy Realtek"] is True: