This commit is contained in:
opa334
2022-09-03 18:49:53 +02:00
parent 068f735233
commit c2a5e5b988
12 changed files with 353 additions and 131 deletions
@@ -65,6 +65,7 @@ int IOGPU_get_command_queue_extra_refills_needed(void)
|| strstr(u.machine, "iPhone14,")
|| strstr(u.machine, "iPad13,")
|| strstr(u.machine, "iPad7,")
|| strstr(u.machine, "iPad12,")
)
{
return 1;
@@ -72,10 +73,12 @@ int IOGPU_get_command_queue_extra_refills_needed(void)
// iPhone 8, X
// iPhone XS, XR
// iPad Pro A12Z
// iPad 8 A12
else if (
strstr(u.machine, "iPhone10,")
|| strstr(u.machine, "iPhone11,")
|| strstr(u.machine, "iPad8,")
|| strstr(u.machine, "iPad11,")
)
{
return 3;