https://bugs.kde.org/show_bug.cgi?id=365242

Martin Gräßlin <mgraess...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kwin
                   |                            |/cd9a0afafa56bd251ef48022b8
                   |                            |2dd2c037e4f3ea
   Version Fixed In|                            |5.7.2

--- Comment #8 from Martin Gräßlin <mgraess...@kde.org> ---
Git commit cd9a0afafa56bd251ef48022b82dd2c037e4f3ea by Martin Gräßlin.
Committed on 13/07/2016 at 07:37.
Pushed by graesslin into branch 'Plasma/5.7'.

[platforms/drm] Properly handle case that mapping the blank buffer fails

Summary:
If it's not possible to create a buffer to blank the output, KWin won't
be able to render to the output. In that case the output should not be
added to the list of outputs.

To support this DrmOutput::blank and DrmOutput::init return bool to
indicate whether they succeeded. DrmBackend handles this situation and
doesn't add the output to the list of outputs if init failed.

If after init there are no outputs KWin is in a state where it won't
be functional. Thus the platform emits the initFailed signal to
terminate.
FIXED-IN: 5.7.2

Test Plan: No hardware to reproduce the condition

Reviewers: #kwin, #plasma_on_wayland

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D2135

M  +13   -2    plugins/platforms/drm/drm_backend.cpp
M  +11   -5    plugins/platforms/drm/drm_output.cpp
M  +2    -2    plugins/platforms/drm/drm_output.h

http://commits.kde.org/kwin/cd9a0afafa56bd251ef48022b82dd2c037e4f3ea

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to