weston/libweston/backend-drm
Michael Olbrich d70e712c2f drm: always check the repaint_status in update_complete
Initially finish_frame() was never called in drm_output_update_complete() for
'dpms_off_pending = true'. This is wrong for repaint_status ==
REPAINT_AWAITING_COMPLETION and that was fixed in
68d49d772c ("compositor-drm: run finish_frame when
dpms is turned off in update_complete").
However finish_frame() may now be called for repaint_status !=
REPAINT_AWAITING_COMPLETION, which is not allowed and results in a failed
assertion.

Fix this by checking dpms and repaint_status unconditionally.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2020-08-19 07:35:14 +02:00
..
drm-gbm.c drm: Introduce drm_plane_reset_state() helper function 2020-08-17 09:44:45 +00:00
drm-internal.h backend-drm: allow to disable GBM modifiers 2020-08-17 10:17:30 +00:00
drm-virtual.c backend-drm: separate out DRM virtual support 2019-10-25 15:32:07 +02:00
drm.c drm: always check the repaint_status in update_complete 2020-08-19 07:35:14 +02:00
fb.c backend-drm: remove unecessary ifdef checks 2019-11-23 09:57:52 +00:00
kms.c backend-drm: allow to disable GBM modifiers 2020-08-17 10:17:30 +00:00
libbacklight.c backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build backend-drm: the GL renderer is a hard requirement for DRM virtual outputs 2020-08-17 10:12:54 +00:00
modes.c backend-drm: Parse KMS panel orientation property, apply to weston_head 2020-03-06 21:50:38 +00:00
state-helpers.c drm: Introduce drm_plane_reset_state() helper function 2020-08-17 09:44:45 +00:00
state-propose.c backend-drm: reorder plane checks to avoid unnecessary rendering 2020-08-17 09:53:38 +00:00
vaapi-recorder.c backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00