patchsets: Update for GCN GVA logic

This commit is contained in:
Mykola Grymalyuk
2024-09-23 09:54:27 -06:00
parent 753cd6cf3f
commit 9d43d66f5d
4 changed files with 8 additions and 8 deletions

View File

@@ -120,11 +120,10 @@ class AMDLegacyGCN(BaseHardware):
_base = {}
if self._is_gpu_architecture_present(gpu_architectures=[device_probe.Intel.Archs.Skylake]) is False:
# Monterey GVA is not required for Intel Skylake iGPUs
_base.update({
**MontereyGVA(self._xnu_major, self._xnu_minor, self._constants.detected_os_version).patches(),
})
# AMD GCN and newer GPUs can still use the native GVA stack
_base.update({
**MontereyGVA(self._xnu_major, self._xnu_minor, self._constants.detected_os_version).revert_patches(),
})
_base.update({
**MontereyOpenCL(self._xnu_major, self._xnu_minor, self._constants.detected_os_version).patches(),

View File

@@ -139,7 +139,7 @@ class AMDPolaris(BaseHardware):
**AMDOpenCL(self._xnu_major, self._xnu_minor, self._constants.detected_os_version).patches(),
})
# Polaris and Vega GPUs still use the native GVA stack
# AMD GCN and newer GPUs can still use the native GVA stack
_base.update({
**MontereyGVA(self._xnu_major, self._xnu_minor, self._constants.detected_os_version).revert_patches(),
})

View File

@@ -122,7 +122,7 @@ class AMDVega(BaseHardware):
return {}
return {
# Polaris and Vega GPUs still use the native GVA stack
# AMD GCN and newer GPUs can still use the native GVA stack
**MontereyGVA(self._xnu_major, self._xnu_minor, self._constants.detected_os_version).revert_patches(),
**MontereyOpenCL(self._xnu_major, self._xnu_minor, self._constants.detected_os_version).patches(),