From 68d49d772cfba6c53033cb009b0f490fd38f24ad Mon Sep 17 00:00:00 2001 From: Tomohito Esaki Date: Wed, 27 Mar 2019 15:45:33 +0900 Subject: [PATCH] compositor-drm: run finish_frame when dpms is turned off in update_complete A output repaint loop isn't scheduled beacuse the output repaint_status is AWAITING_COMPLETION when dmps is turned off in update_complete(). Therefore, the display attached to the output is remain inactive even if weston wakes up. By going through finish_frame, the output repaint_status is fixed to correct status. Signed-off-by: Tomohito Esaki --- libweston/backend-drm/drm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libweston/backend-drm/drm.c b/libweston/backend-drm/drm.c index 627f58e5..ed9756b5 100644 --- a/libweston/backend-drm/drm.c +++ b/libweston/backend-drm/drm.c @@ -1933,7 +1933,6 @@ drm_output_update_complete(struct drm_output *output, uint32_t flags, output->dpms_off_pending = 0; drm_output_get_disable_state(pending, output); drm_pending_state_apply_sync(pending); - return; } else if (output->state_cur->dpms == WESTON_DPMS_OFF && output->base.repaint_status != REPAINT_AWAITING_COMPLETION) { /* DPMS can happen to us either in the middle of a repaint