summaryrefslogtreecommitdiff
path: root/libs/hostgraphics/HostBufferQueue.cpp
diff options
context:
space:
mode:
author Manasi Navare <navaremanasi@google.com> 2025-02-24 23:53:06 +0000
committer Manasi Navare <navaremanasi@google.com> 2025-03-07 21:28:36 +0000
commit74127c07efd71aed94f2a79cfe07fa2b55a0a6a5 (patch)
tree72f19ae5a1ba447adc77e3484930d503bce93823 /libs/hostgraphics/HostBufferQueue.cpp
parent22067462fc35fab2822bcd7adbbf7e72c55ff3a7 (diff)
Update rejected modes votes only if the display is registered
If an initial display config fails soon after hotplug, There could be a race condition to update the rejected modes vote for a display and display being registered. So fix that by updating the votes by using onDisplayAdded() and onModeRejected() callbacks. Bug: 393132034 Test: manual, induce config failure in DRM HWC and test that the ModeChangeObserver updates the rejected modes votes Flag: com.android.graphics.surfaceflinger.flags.display_config_error_hal Change-Id: Icb2ab24567eeca740ab1e997e5e9dcd818b14ed9 Signed-off-by: Manasi Navare <navaremanasi@google.com>
Diffstat (limited to 'libs/hostgraphics/HostBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions