This commit properly tears down the display pieline when the
display is disconnected. This frees up the DRM CRTC and other
resources used by the connector. This ensures that the
consecutive hotplugs work correctly to reallocate the CRTCs
when new displays are connected.
This was verified by ensuring the CRTCs, mode, connectors
are freed up in modetest.
This fixes the issue of display not coming back after
screen timeout and fixes the Android VTS SetPowerMode(Off) failures
Fixes:
|
||
|---|---|---|
| .. | ||
| DrmHwcTwo.cpp | ||
| DrmHwcTwo.h | ||
| hwc2_device.cpp | ||
| HwcDisplay.cpp | ||
| HwcDisplay.h | ||
| HwcDisplayConfigs.cpp | ||
| HwcDisplayConfigs.h | ||
| HwcLayer.cpp | ||
| HwcLayer.h | ||
| meson.build | ||