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
Loading
Please register or sign in to comment