Commit 658457df authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: attempt a modeset on output disabling

When modesets are necessary, they are attempted when an output on the given
GPU gets presented. With multi-gpu setups however, the situation can arise
where there is only one disabled output on a GPU; in that case KWin eternally
waits and never properly turns off the display.
In order to work around this, explicitly call DrmGpu::maybeModeset when
an output gets disabled.

BUG: 449878
FIXED-IN: 5.24.4
parent 5427b4d4
Pipeline #156351 passed with stage
in 15 minutes and 3 seconds
......@@ -394,6 +394,9 @@ void DrmOutput::applyQueuedChanges(const WaylandOutputConfig &config)
auto props = config.constChangeSet(this);
setEnabled(props->enabled && m_pipeline->pending.crtc);
if (!isEnabled() && m_pipeline->needsModeset()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment