fix(service): default the BO pool to 1536 MiB

At 384 MiB large BOs fell back to scattered pages; 1536 MiB had none
and peaked at 782 MiB in use.
This commit is contained in:
bluseliu50
2026-10-20 23:12:35 +08:00
Unverified
parent 266896999d
commit 6fed9265a9
+1 -1
View File
@@ -296,7 +296,7 @@ bool NativeAdrenoGpuService::start(IOService *provider)
* (sheng-gpu-power, docs/gpu-hardware-plan.md) shows the GPU SMMU powered and writable: the apps SMMU on this board is
* hypervisor-managed (docs/native-ufs.md) and the adreno SMMU has not been shown to differ. */
{
uint32_t mib=1024;PE_parse_boot_argn("sheng-gpu-pool",&mib,sizeof(mib));native_adreno_pool_mib=mib;
uint32_t mib=1536;PE_parse_boot_argn("sheng-gpu-pool",&mib,sizeof(mib));native_adreno_pool_mib=mib;
}
uint32_t bringup=0;
if(PE_parse_boot_argn("sheng-gpu-bringup",&bringup,sizeof(bringup)) && bringup) {