sys_patch: Clean up patch set logic

This commit is contained in:
Mykola Grymalyuk
2023-07-22 12:40:38 -06:00
parent b9bd01750c
commit e21efa975c
4 changed files with 15 additions and 58 deletions

View File

@@ -990,30 +990,11 @@ class SystemPatchDictionary():
},
},
},
"Sonoma 3802 Extended": {
"Display Name": "",
"OS Support": {
"Minimum OS Support": {
"OS Major": os_data.os_data.sonoma,
"OS Minor": 0
},
"Maximum OS Support": {
"OS Major": os_data.os_data.max_os,
"OS Minor": 99
},
},
"Install": {
"/System/Library/Frameworks": {
"MetalPerformanceShaders.framework": "13.5",
},
"/System/Library/PrivateFrameworks": {
"MTLCompiler.framework": "14.0",
},
},
},
# On macOS Sonoma, the IOSurface ABI changed slightly that we now get corrupted UI elements
# Namely, macOS wallpaper and menubar.
# Temporary workaround for development only, until we can figure out what's going on.
# On macOS Sonoma, the IOSurface ABI changed and broke support for Monterey framebuffer drivers:
# - Intel and Nvidia: Page Fault panics on boot
# - IOAccelResource::pageonIfNeeded() in IOAcceleratorFamily2.kext
# - AMD: Corrupted UI elements
# - Menubar, wallpaper, etc.
"Sonoma Legacy Metal Extended": {
"Display Name": "",
"OS Support": {
@@ -1033,30 +1014,6 @@ class SystemPatchDictionary():
},
},
},
# On macOS Sonoma, the IOAcceleratorFamily2 ABI changed slightly that now Intel Metal GPUs will hard lock
# on rendering.
# Specific functions at fault are:
# - IOAccelResource::pageonIfNeeded()
# - IOAccelResource::pageoffIfNeeded()
# Due to these kexts sitting in the main cache, KDK is required to patch them.
"Sonoma Intel Extended": {
"Display Name": "",
"OS Support": {
"Minimum OS Support": {
"OS Major": os_data.os_data.sonoma,
"OS Minor": 0
},
"Maximum OS Support": {
"OS Major": os_data.os_data.max_os,
"OS Minor": 99
},
},
"Install": {
"/System/Library/Extensions": {
"IOAcceleratorFamily2.kext": "13.5",
},
},
},
},
"Audio": {
"Legacy Realtek": {