Skip to content
GitLab
Menu
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
11c3ada1
Commit
11c3ada1
authored
Feb 18, 2021
by
Méven Car
Committed by
Vlad Zahorodnii
Feb 18, 2021
Browse files
DrmGpu fix atomicModeSetting try
parent
cf2486d6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/platforms/drm/drm_gpu.cpp
View file @
11c3ada1
...
...
@@ -85,6 +85,7 @@ void DrmGpu::tryAMS()
{
m_atomicModeSetting
=
false
;
if
(
drmSetClientCap
(
m_fd
,
DRM_CLIENT_CAP_ATOMIC
,
1
)
==
0
)
{
m_atomicModeSetting
=
true
;
DrmScopedPointer
<
drmModePlaneRes
>
planeResources
(
drmModeGetPlaneResources
(
m_fd
));
if
(
!
planeResources
)
{
qCWarning
(
KWIN_DRM
)
<<
"Failed to get plane resources. Falling back to legacy mode on GPU "
<<
m_devNode
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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