hwc2: Perform bandwidth-checked hotplug
* Create and hotplug pluggable (e.g., DisplayPort) displays after a
commit has succeeded on previous pluggable displays. This allows the
driver to recalculate and return updated modes on remaining displays
based on available link bandwidth.
* Perform deferred hotplug handling in a new thread invoked at
PresentDisplay(). Skip deferred hotplug handling from PresentDisplay()
if a handling thread is in progress.
CRs-Fixed: 2363982
Change-Id: I463fcbaa198d96a2f42283c8e6f0aa1f8b9e1b48
6 files changed