Reduce number of binders from SurfaceFlinger for ADPF
Currently, SF is using the wrong vsync value when calculating the target for ADPF, causing it to send a binder every frame instead of every vsync change. This patch fixes that to reduce the binder frequency from SF, and also adds a debug option to disable reportActual to reduce the amount of binders even more in certain cases. Bug: 284357218 Test: manual Change-Id: I8435b170016c5af8219d8ed8cc9ed65a0a2cb0e7
Showing
- services/surfaceflinger/DisplayHardware/PowerAdvisor.cpp 4 additions, 1 deletionservices/surfaceflinger/DisplayHardware/PowerAdvisor.cpp
- services/surfaceflinger/DisplayHardware/PowerAdvisor.h 3 additions, 0 deletionsservices/surfaceflinger/DisplayHardware/PowerAdvisor.h
- services/surfaceflinger/SurfaceFlinger.cpp 4 additions, 1 deletionservices/surfaceflinger/SurfaceFlinger.cpp
Loading
Please register or sign in to comment