[plasma/kwin/Plasma/6.6] src/backends/drm: backends/drm: disable color pipelines by default
Xaver Hugl <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 4805e7ff868474966b1978701ef2c8b6092677c7 by Xaver Hugl.
Committed on 20/07/2026 at 21:17.
Pushed by zamundaaa into branch 'Plasma/6.6'.
backends/drm: disable color pipelines by default
They're not really practically useful in 6.6, and this KWin version doesn't
handle all the pipelines newer driver versions expose.
BUG: 523287
M +1 -1 src/backends/drm/drm_gpu.cpp
https://invent.kde.org/plasma/kwin/-/commit/4805e7ff868474966b1978701ef2c8b6092677c7
diff --git a/src/backends/drm/drm_gpu.cpp b/src/backends/drm/drm_gpu.cpp
index aa1646b3239..bb39dfbe736 100644
--- a/src/backends/drm/drm_gpu.cpp
+++ b/src/backends/drm/drm_gpu.cpp
@@ -120,7 +120,7 @@ DrmGpu::DrmGpu(DrmBackend *backend, int fd, std::unique_ptr<DrmDevice> &&device)
m_asyncPageflipSupported = drmGetCap(fd, DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP, &capability) == 0 && capability == 1;
}
- m_colorPipelineSupported = s_colorPipelineEnv.value_or(!m_isAmdgpu) && drmSetClientCap(fd, DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE, 1) == 0;
+ m_colorPipelineSupported = s_colorPipelineEnv.value_or(false) && drmSetClientCap(fd, DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE, 1) == 0;
m_delayedModesetTimer.setInterval(0);
m_delayedModesetTimer.setSingleShot(true);