wlroots/backend/wayland
emersion 68362b37a8
backend/drm: fix frame scheduling on secondary GPUs
There was a missing copy_drm_surface_mgpu call in drm_connector_schedule_frame
so we asked for a pageflip with an unknown BO, resulting in ENOENT.

Additionally, this commit makes schedule_frame return a bool indicating
failures. This allows schedule_frame_handle_idle_timer to only set
frame_pending to true if a frame has been successfully scheduled. Thus, if a
pageflip fails, rendering won't be blocked forever anymore.

In case a pageflip is already pending, true is returned because a frame has
already been scheduled and will be sent sometime soon.
2018-10-29 20:38:57 +01:00
..
backend.c backend/wayland: add assertions 2018-09-18 11:06:01 +02:00
output.c backend/drm: fix frame scheduling on secondary GPUs 2018-10-29 20:38:57 +01:00
registry.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
wl_seat.c backend/wayland: add assertions 2018-09-18 11:06:01 +02:00