backends/drm: don't work around pageflips timing out

It doesn't seem to (always) work, and it has caused at least one crash. If the workaround
is needed, it'll have to be implemented in a different way
This commit is contained in:
Xaver Hugl 2024-03-04 14:18:14 +01:00
parent 1b10dde569
commit 599020d8da

View file

@ -52,12 +52,6 @@ DrmCommitThread::DrmCommitThread(DrmGpu *gpu, const QString &name)
// the commit would fail with EBUSY, wait until the pageflip is done
if (timeout) {
qCCritical(KWIN_DRM, "Pageflip timed out! This is a kernel bug");
std::unique_ptr<DrmAtomicCommit> committed(static_cast<DrmAtomicCommit *>(m_committed.release()));
const bool cursorOnly = committed->isCursorOnly();
m_droppedCommits.push_back(std::move(committed));
if (!cursorOnly) {
QMetaObject::invokeMethod(this, &DrmCommitThread::commitFailed, Qt::ConnectionType::QueuedConnection);
}
}
continue;
}