Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
255e9882
Commit
255e9882
authored
Apr 05, 2022
by
Xaver Hugl
Browse files
backends/drm: add some warnings for failing atomic tests
parent
661fbec2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/backends/drm/drm_gpu.cpp
View file @
255e9882
...
...
@@ -328,6 +328,7 @@ bool DrmGpu::updateOutputs()
}
}
}
else
{
qCWarning
(
KWIN_DRM
,
"Failed to find a working setup for new outputs!"
);
for
(
const
auto
&
pipeline
:
qAsConst
(
m_pipelines
))
{
pipeline
->
revertPendingChanges
();
}
...
...
src/backends/drm/drm_output.cpp
View file @
255e9882
...
...
@@ -343,6 +343,7 @@ bool DrmOutput::setGammaRamp(const GammaRamp &gamma)
m_renderLoop
->
scheduleRepaint
();
return
true
;
}
else
{
qCWarning
(
KWIN_DRM
)
<<
"Applying gamma ramp failed on output"
<<
this
;
m_pipeline
->
revertPendingChanges
();
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment