diff options
| -rw-r--r-- | services/surfaceflinger/common/FlagManager.cpp | 2 | ||||
| -rw-r--r-- | services/surfaceflinger/common/include/common/FlagManager.h | 1 | ||||
| -rw-r--r-- | services/surfaceflinger/surfaceflinger_flags_new.aconfig | 8 |
3 files changed, 11 insertions, 0 deletions
diff --git a/services/surfaceflinger/common/FlagManager.cpp b/services/surfaceflinger/common/FlagManager.cpp index 8a81c56bc8..658bca6f31 100644 --- a/services/surfaceflinger/common/FlagManager.cpp +++ b/services/surfaceflinger/common/FlagManager.cpp @@ -156,6 +156,7 @@ void FlagManager::dump(std::string& result) const { DUMP_READ_ONLY_FLAG(single_hop_screenshot); DUMP_READ_ONLY_FLAG(trace_frame_rate_override); DUMP_READ_ONLY_FLAG(true_hdr_screenshots); + DUMP_READ_ONLY_FLAG(display_config_error_hal); #undef DUMP_READ_ONLY_FLAG #undef DUMP_SERVER_FLAG @@ -260,6 +261,7 @@ FLAG_MANAGER_READ_ONLY_FLAG(flush_buffer_slots_to_uncache, ""); FLAG_MANAGER_READ_ONLY_FLAG(force_compile_graphite_renderengine, ""); FLAG_MANAGER_READ_ONLY_FLAG(single_hop_screenshot, ""); FLAG_MANAGER_READ_ONLY_FLAG(true_hdr_screenshots, "debug.sf.true_hdr_screenshots"); +FLAG_MANAGER_READ_ONLY_FLAG(display_config_error_hal, ""); /// Trunk stable server flags /// FLAG_MANAGER_SERVER_FLAG(refresh_rate_overlay_on_external_display, "") diff --git a/services/surfaceflinger/common/include/common/FlagManager.h b/services/surfaceflinger/common/include/common/FlagManager.h index b097bf9bc9..4f34718f4e 100644 --- a/services/surfaceflinger/common/include/common/FlagManager.h +++ b/services/surfaceflinger/common/include/common/FlagManager.h @@ -94,6 +94,7 @@ public: bool single_hop_screenshot() const; bool trace_frame_rate_override() const; bool true_hdr_screenshots() const; + bool display_config_error_hal() const; protected: // overridden for unit tests diff --git a/services/surfaceflinger/surfaceflinger_flags_new.aconfig b/services/surfaceflinger/surfaceflinger_flags_new.aconfig index d724dfce5b..f758879687 100644 --- a/services/surfaceflinger/surfaceflinger_flags_new.aconfig +++ b/services/surfaceflinger/surfaceflinger_flags_new.aconfig @@ -82,6 +82,14 @@ flag { } # detached_mirror flag { + name: "display_config_error_hal" + namespace: "core_graphics" + description: "Report HAL display configuration errors like modeset failure or link training failure" + bug: "374184110" + is_fixed_read_only: true +} # display_config_error_hal + +flag { name: "filter_frames_before_trace_starts" namespace: "core_graphics" description: "Do not trace FrameTimeline events for frames started before the trace started" |