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:
parent
1b10dde569
commit
599020d8da
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue