summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Matt Buckley <mattbuckley@google.com> 2021-10-12 19:30:12 +0000
committer Matt Buckley <mattbuckley@google.com> 2022-01-05 22:34:59 +0000
commitef51fbaf55a7f85bda1be264d6a20852bb3367a9 (patch)
tree88bd5db303193ad443bbe69a6e748e6df50a4c01 /libs/gui/BufferQueueThreadState.cpp
parentf60ade6b4c52b1f41975ed9506df1dc0b28e8857 (diff)
Send power hints from surfaceflinger using the PowerAdvisor
Have SurfaceFlinger send timing hints to the PowerHAL to help meet the frame deadline and dynamically scale clock frequency for different workloads. This patch additionally refactors a few closely related parts of the PowerAdvisor, and expands the logging there for this feature. To enable the power hint session, use: adb shell device_config put surface_flinger_native_boot AdpfFeature__adpf_cpu_hint true Bug: b/195990840 Test: manual Change-Id: Ib3eca9d08e0fb5e446ea7075630f741b48940f84
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions