From 599020d8dab42d2ec1a6dd5ecd3824e349fbdc69 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Mon, 4 Mar 2024 14:18:14 +0100 Subject: [PATCH] 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 --- src/backends/drm/drm_commit_thread.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/backends/drm/drm_commit_thread.cpp b/src/backends/drm/drm_commit_thread.cpp index 8636a4e9d7..89c0ca2908 100644 --- a/src/backends/drm/drm_commit_thread.cpp +++ b/src/backends/drm/drm_commit_thread.cpp @@ -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 committed(static_cast(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; }