Merge pull request #64 from 0x8ff/m1

Update IOGPU.c to have more descriptive comments
This commit is contained in:
Lars Fröder 2022-09-06 12:00:36 +02:00 committed by GitHub
commit 460b881934
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);
// iPod Touch 7
// iPhone 7 // iPhone 7
// iPod 7 // iPhone 11 & SE 2
// iPhone 11
// 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,")