Commit a5404234 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: don't permanently disable VRR when the test commit fails

In 5.24, the same code path is used for testing direct scanout, so that
causes false negatives. Generally though, the user setting shouldn't be
touched, it's not really proper feedback for the driver or KWin having
problems.


(cherry picked from commit 2ef6215a)
parent 82c2324b
Pipeline #161422 passed with stage
in 23 minutes and 12 seconds
......@@ -337,7 +337,6 @@ bool DrmOutput::present(const QSharedPointer<DrmBuffer> &buffer, QRegion damaged
m_pipeline->applyPendingChanges();
} else {
m_pipeline->revertPendingChanges();
setVrrPolicy(RenderLoop::VrrPolicy::Never);
}
}
if (m_pipeline->present(buffer)) {
......
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