df3c1de848
Summary: This patch further refines output management. We go now through AbstractWaylandOutput virtual functions to enable and disable outputs. Dpms changes and enablement switches use separate code paths at start in the Drm backend code since they are similar but not the directly same. Common code is shared though, functions are renamed accordingly. Asserts have been put in place to better understand and check the control flow. A seemingly unnecessary call to DrmOutput::pageFlipped on reactivation after Vt switch has been removed to allow for that. In future patches we need to look additionally at the legacy mode switching code path which was and is still not working and better handling of the current monitor Dpms state. For example a monitor being switched off is not properly acted on and the workspace still expanded. Test Plan: With one and two monitors: * Dpms off/on * Vt switches * Screen disable/enable Reviewers: #kwin Subscribers: kwin Tags: #kwin Maniphest Tasks: T11459 Differential Revision: https://phabricator.kde.org/D23600 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
drm.json | ||
drm_backend.cpp | ||
drm_backend.h | ||
drm_buffer.cpp | ||
drm_buffer.h | ||
drm_buffer_gbm.cpp | ||
drm_buffer_gbm.h | ||
drm_inputeventfilter.cpp | ||
drm_inputeventfilter.h | ||
drm_object.cpp | ||
drm_object.h | ||
drm_object_connector.cpp | ||
drm_object_connector.h | ||
drm_object_crtc.cpp | ||
drm_object_crtc.h | ||
drm_object_plane.cpp | ||
drm_object_plane.h | ||
drm_output.cpp | ||
drm_output.h | ||
drm_pointer.h | ||
edid.cpp | ||
edid.h | ||
egl_gbm_backend.cpp | ||
egl_gbm_backend.h | ||
egl_stream_backend.cpp | ||
egl_stream_backend.h | ||
gbm_surface.cpp | ||
gbm_surface.h | ||
logging.cpp | ||
logging.h | ||
remoteaccess_manager.cpp | ||
remoteaccess_manager.h | ||
scene_qpainter_drm_backend.cpp | ||
scene_qpainter_drm_backend.h | ||
screens_drm.cpp | ||
screens_drm.h |