Commit 255e9882 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: add some warnings for failing atomic tests

parent 661fbec2
......@@ -328,6 +328,7 @@ bool DrmGpu::updateOutputs()
}
}
} else {
qCWarning(KWIN_DRM, "Failed to find a working setup for new outputs!");
for (const auto &pipeline : qAsConst(m_pipelines)) {
pipeline->revertPendingChanges();
}
......
......@@ -343,6 +343,7 @@ bool DrmOutput::setGammaRamp(const GammaRamp &gamma)
m_renderLoop->scheduleRepaint();
return true;
} else {
qCWarning(KWIN_DRM) << "Applying gamma ramp failed on output" << this;
m_pipeline->revertPendingChanges();
return false;
}
......
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