romangg created this revision. romangg added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. romangg requested review of this revision.
REVISION SUMMARY We can use the cached current mode in one more case. Additionally make it more explicit what a valid mode is and when to add them. TEST PLAN Relevant autotests pass. KWin Wayland nested and DRM session work. REPOSITORY R127 KWayland BRANCH useCachedMode REVISION DETAIL https://phabricator.kde.org/D23535 AFFECTED FILES src/server/outputdevice_interface.cpp src/server/outputdevice_interface.h To: romangg, #kwin Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns