From 6fed9265a97164a2182de7286ea1893b4ab612ce Mon Sep 17 00:00:00 2001 From: bluseliu50 <265648257+bluseliu50@users.noreply.github.com> Date: Tue, 20 Oct 2026 23:12:35 +0800 Subject: [PATCH] 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. --- NativeAdrenoService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NativeAdrenoService.cpp b/NativeAdrenoService.cpp index 6fd4cb0..8f26903 100644 --- a/NativeAdrenoService.cpp +++ b/NativeAdrenoService.cpp @@ -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) {