Skip to content
Snippets Groups Projects
Commit ce0210c1 authored by Neil Armstrong's avatar Neil Armstrong
Browse files

drm/meson: Fix atomic mode switching regression


Since commit 2bcd3eca when switching mode from X11 (ubuntu mate for
example) the display gets blurry, looking like an invalid framebuffer width.

This commit fixed atomic crtc modesetting in a totally wrong way and
introduced a local unnecessary ->enabled crtc state.

This commit reverts the crctc _begin() and _enable() changes and simply
adds drm_atomic_helper_commit_tail_rpm as helper.

Reported-by: default avatarTony McKahan <tonymckahan@gmail.com>
Suggested-by: default avatarDaniel Vetter <daniel@ffwll.ch>
Fixes: 2bcd3eca ("drm/meson: Fixes for drm_crtc_vblank_on/off support")
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
[narmstrong: fixed blank line issue from checkpatch]
Link: https://patchwork.freedesktop.org/patch/msgid/20190114153118.8024-1-narmstrong@baylibre.com
parent f672b93e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment