Commit 53f7bda7 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

platforms/drm: Make DRM backend less chatty

These warnings can be safely ignored, their priority can be lowered.
parent 2efb9c47
......@@ -58,9 +58,11 @@ bool DrmObject::initProps(const QVector<PropertyDefinition> &&vector, uint32_t o
}
}
}
for (int i = 0; i < vector.count(); i++) {
if (!m_props[i]) {
qCWarning(KWIN_DRM) << "Could not find property" << vector[i].name;
if (KWIN_DRM().isDebugEnabled()) {
for (int i = 0; i < vector.count(); i++) {
if (!m_props[i]) {
qCDebug(KWIN_DRM) << "Could not find property" << vector[i].name;
}
}
}
return true;
......
......@@ -50,7 +50,7 @@ bool DrmConnector::init()
// for legacy it will be explicitly set
dpmsProp->setImmutable();
} else {
qCWarning(KWIN_DRM) << "Could not find DPMS property!";
qCDebug(KWIN_DRM) << "Could not find DPMS property!";
}
// parse edid
......@@ -61,7 +61,7 @@ bool DrmConnector::init()
}
deleteProp(PropertyIndex::Edid);
} else {
qCWarning(KWIN_DRM) << "Could not find edid for connector" << this;
qCDebug(KWIN_DRM) << "Could not find edid for connector" << this;
}
// check the physical size
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment