[plasma/kwin] src/backends/drm: backends/drm: allow running without any KMS nodes
Xaver Hugl <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 1df16fde1811f2c042478c7e00318274e32ebd90 by Xaver Hugl.
Committed on 16/07/2026 at 19:21.
Pushed by zamundaaa into branch 'master'.
backends/drm: allow running without any KMS nodes
The compositor will chose any arbitrary render node, or udmabuf if necessary,
so requiring KMS nodes is no longer necessary.
M +0 -5 src/backends/drm/drm_backend.cpp
https://invent.kde.org/plasma/kwin/-/commit/1df16fde1811f2c042478c7e00318274e32ebd90
diff --git a/src/backends/drm/drm_backend.cpp b/src/backends/drm/drm_backend.cpp
index 2d3728ef7a3..412a3627a0c 100644
--- a/src/backends/drm/drm_backend.cpp
+++ b/src/backends/drm/drm_backend.cpp
@@ -114,11 +114,6 @@ bool DrmBackend::initialize()
}
}
- if (m_gpus.empty()) {
- qCWarning(KWIN_DRM) << "No suitable DRM devices have been found";
- return false;
- }
-
// setup udevMonitor
if (m_udevMonitor) {
m_udevMonitor->filterSubsystemDevType("drm");