hwc2: Add support for multiple displays

- Add support for an additional display which can be either a builtin
  display or pluggable display.
- Restructure HWCDisplayPrimary as HWCBuiltIn and HWCDisplayExternal
  as HWCDisplayPluggable.
- Refactor hotplug handling. Iterate through all pluggable displays,
  and check present connection status. Connect/disconnect a given
  display if connection status has changed.

CRs-Fixed: 2200594
Change-Id: Ibd2f93ddfbe72af58220691ad481469c8fdcbf86
diff --git a/libqdutils/display_config.h b/libqdutils/display_config.h
index c692699..1f5e5e8 100644
--- a/libqdutils/display_config.h
+++ b/libqdutils/display_config.h
@@ -47,12 +47,9 @@
 
 // Use this enum to specify the dpy parameters where needed
 enum {
-    DISPLAY_PRIMARY = HWC_DISPLAY_PRIMARY,
-    DISPLAY_EXTERNAL = HWC_DISPLAY_EXTERNAL,
-#ifdef QTI_BSP
-    DISPLAY_TERTIARY = HWC_DISPLAY_TERTIARY,
-#endif
-    DISPLAY_VIRTUAL = HWC_DISPLAY_VIRTUAL,
+    DISPLAY_PRIMARY = 0,    // = HWC_DISPLAY_PRIMARY
+    DISPLAY_EXTERNAL = 1,   // = HWC_DISPLAY_EXTERNAL
+    DISPLAY_VIRTUAL = 2,    // = HWC_DISPLAY_VIRTUAL
 };
 
 // External Display states - used in setSecondaryDisplayStatus()