1
0
Fork 0
android_external_drm_hwcomp.../hwc2_device
Manasi Navare 2d4621a7c3 drm_hwcomposer: Teardown the pipeline and DRM resources on disconnect
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: 025ea5bfbb ("drm_hwcomposer: Teardown the pipeline and DRM
resources on disconnect")
Change-Id: Icdca56433b5cd565d1658b1a415565adc7980088
Signed-off-by: Manasi Navare <navaremanasi@google.com>
2025-05-15 17:22:28 +00:00
..
DrmHwcTwo.cpp drm_hwcomposer: Remove HWC2 Dump interface 2025-04-29 11:28:08 -06:00
DrmHwcTwo.h drm_hwcomposer: Remove HWC2 Dump interface 2025-04-29 11:28:08 -06:00
hwc2_device.cpp drm_hwcomposer: Remove HWC2 CompositionType 2025-05-05 14:52:56 -06:00
HwcDisplay.cpp drm_hwcomposer: Teardown the pipeline and DRM resources on disconnect 2025-05-15 17:22:28 +00:00
HwcDisplay.h drm_hwcomposer: Remove obsolete function declaration 2025-05-05 14:53:01 -06:00
HwcDisplayConfigs.cpp drm_hwcomposer: Remove HWC2 from HwcDisplayConfigs 2025-05-05 14:53:01 -06:00
HwcDisplayConfigs.h drm_hwcomposer: Remove HWC2 from HwcDisplayConfigs 2025-05-05 14:53:01 -06:00
HwcLayer.cpp drm_hwcomposer: Don't import fb when headless 2025-04-09 13:38:41 -06:00
HwcLayer.h drm_hwcomposer: Remove unnecessary #include 2025-05-05 14:53:01 -06:00
meson.build drm_hwcomposer: Extract DrmHwc abstract base class 2024-08-12 12:27:10 -06:00