Restore KDKLess support and drop IOSurface downgrade

**WARNING: this change will break existing installs, you'll need to revert root patches before patching.
This commit is contained in:
Eduardo Covas
2023-08-18 14:28:08 -03:00
committed by GitHub
parent 829f1f6bc1
commit 36f69c4f21
3 changed files with 11 additions and 51 deletions

View File

@@ -221,16 +221,6 @@ class DetectRootPatch:
self.supports_metal = True
if self.constants.detected_os >= os_data.os_data.sonoma:
if any([
self.kepler_gpu,
self.ivy_gpu,
self.haswell_gpu,
self.broadwell_gpu,
self.skylake_gpu,
]):
# All KDKless GPUs require a KDK in Sonoma due to IOSurface downgrade
self.requires_root_kc = True
if self.supports_metal is True:
# Avoid patching Metal and non-Metal GPUs if both present, prioritize Metal GPU