commit | 154fc046ff0faf746a278ef30e04e88b16276b5e | [log] [tgz] |
---|---|---|
author | Xiang Wang <xwxw@google.com> | Tue Apr 02 14:17:53 2024 -0700 |
committer | Xiang Wang <xwxw@google.com> | Thu May 09 20:49:13 2024 +0000 |
tree | 8a286f9a8ccb9c763525fc0a0df004b376f8cc60 | |
parent | 67241b3835e90f11fba9571a25b3fc3d98a0cdf7 [diff] |
Add FMQ support in PowerAdvisor Bug: 284324521 Flag: android.os.adpf_use_fmq_channel_fixed Test: atest PowerAdvisorTest Change-Id: Iec3d861d1a7603cbe6b924453344725431573ed7
diff --git a/services/surfaceflinger/common/FlagManager.cpp b/services/surfaceflinger/common/FlagManager.cpp index f074b7d..45b3290 100644 --- a/services/surfaceflinger/common/FlagManager.cpp +++ b/services/surfaceflinger/common/FlagManager.cpp
@@ -249,5 +249,6 @@ /// Trunk stable readonly flags from outside SurfaceFlinger /// FLAG_MANAGER_READ_ONLY_FLAG_IMPORTED(idle_screen_refresh_rate_timeout, "", com::android::server::display::feature::flags) +FLAG_MANAGER_READ_ONLY_FLAG_IMPORTED(adpf_use_fmq_channel_fixed, "", android::os) } // namespace android
diff --git a/services/surfaceflinger/common/include/common/FlagManager.h b/services/surfaceflinger/common/include/common/FlagManager.h index 0acf754..592e774 100644 --- a/services/surfaceflinger/common/include/common/FlagManager.h +++ b/services/surfaceflinger/common/include/common/FlagManager.h
@@ -51,6 +51,7 @@ bool refresh_rate_overlay_on_external_display() const; bool adpf_gpu_sf() const; bool adpf_use_fmq_channel() const; + bool adpf_use_fmq_channel_fixed() const; /// Trunk stable readonly flags /// bool connected_display() const;