Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bff87588 authored by Gil Dekel's avatar Gil Dekel
Browse files

HWComposer: Display ID conflict resolution logic

Currently, there are no safeguards against duplicate display IDs when
creating displays of any kind (physical or virtual). In rare cases where
duplicates occur, they cause critical failures in display management.

This patch introduces logic in HWComposer that resolve duplicate display
IDs upon creation of physical displays by seeding their first 8 LSB with
the display's port ID.

Flag: com.android.graphics.surfaceflinger.flags.stable_edid_ids
Bug: 394404483
Bug: 415036566
Test: HWComposerTest && DisplayIdentification_test
Test: adb shell service call SurfaceFlinger 1037
Change-Id: I94ebda3f69f83c2b8ae0f3af17094b6b9b21f64b
parent 5c1e4599
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment