Skip to content

Commit ad783ff

Browse files
committed
Merge tag 'drm-misc-next-fixes-2022-01-13' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
* Fix use of CRTC state's active vs enable in atomic helper Signed-off-by: Daniel Vetter <[email protected]> From: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/Yd/i/zj9vEHisSSB@linux-uq9g
2 parents 8f18a98 + 69e6300 commit ad783ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/drm_atomic_helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ crtc_needs_disable(struct drm_crtc_state *old_state,
10161016
* it's in self refresh mode and needs to be fully disabled.
10171017
*/
10181018
return old_state->active ||
1019-
(old_state->self_refresh_active && !new_state->enable) ||
1019+
(old_state->self_refresh_active && !new_state->active) ||
10201020
new_state->self_refresh_active;
10211021
}
10221022

0 commit comments

Comments
 (0)