SF: Generate stable display IDs using EDID
The display IDs generated by HWC are opaque handles. In order for SF and eventually DisplayManagerService to keep track of more than two displays and recognize previously seen displays, displays should be given stable and persistent IDs. If the HWC supports IComposerClient.getDisplayIdentificationData, SF parses the EDID structure to generate stable display IDs, which will be used in a follow-up CL to replace HWC_DISPLAY_{PRIMARY,EXTERNAL}. Bug: 74619554 Test: dumpsys SurfaceFlinger --display-identification Test: libsurfaceflinger_unittest Change-Id: I1a710e2efcf1581fabe48ab96a0eb4e7a5163c0c
Loading
Please register or sign in to comment