Update IOGPU.c (again)

This commit is contained in:
0x8ff 2022-09-04 14:00:04 -07:00 committed by GitHub
parent f790505ad4
commit a4512339ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 7 deletions

View File

@ -52,16 +52,17 @@ int IOGPU_get_command_queue_extra_refills_needed(void)
struct utsname u; struct utsname u;
uname(&u); uname(&u);
// iPhone 7
// iPod Touch 7 // iPod Touch 7
// iPhone 11 // iPhone 7
// iPhone 11 & SE 2
// iPhone 12 // iPhone 12
// iPhone 13 // iPhone 13 & SE 3
// iPad Pro M1(?) // iPad7,* has too many different models to list here, see theiphonewiki's "Models" page for info
// iPad Pro (10.5-inch, WiFi) // iPad 9
// iPad13,1-13,2 is the iPad Air 4 and 13,4-13,11 is the iPad Pro M1.
if ( if (
strstr(u.machine, "iPhone9,") strstr(u.machine, "iPod9,")
|| strstr(u.machine, "iPod9,") || strstr(u.machine, "iPhone9,")
|| strstr(u.machine, "iPhone12,") || strstr(u.machine, "iPhone12,")
|| strstr(u.machine, "iPhone13,") || strstr(u.machine, "iPhone13,")
|| strstr(u.machine, "iPhone14,") || strstr(u.machine, "iPhone14,")