Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

backend/drm: disable cursor in dealloc_crtc #2168

Merged
merged 2 commits into from
May 12, 2020

Conversation

emersion
Copy link
Member

@emersion emersion commented May 7, 2020

dealloc_crtc was destroying GBM surfaces, but the cursor_enabled flag
was left as-is. When re-enabling the output, atomic_crtc_pageflip would
try enabling the cursor plane, but would fail because no framebuffer is
available.

Closes: #2150

dealloc_crtc was destroying GBM surfaces, but the cursor_enabled flag
was left as-is. When re-enabling the output, atomic_crtc_pageflip would
try enabling the cursor plane, but would fail because no framebuffer is
available.

Closes: swaywm#2150
This makes it easier to understand which plane failed.
@ddevault ddevault merged commit 51bbf31 into swaywm:master May 12, 2020
@ddevault
Copy link
Contributor

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Re-enabling output sometimes fail
2 participants