wlroots/backend/drm
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
..
atomic.c backend/drm: add support for the link-status property 2018-10-04 21:54:27 +02:00
backend.c Rename get_present_clock to get_presentation clock, use it 2018-10-04 22:00:22 +02:00
drm.c backend/drm: fix frame scheduling on secondary GPUs 2018-10-29 20:38:57 +01:00
legacy.c output: make gamma size a size_t and gamma table const 2018-10-03 10:36:33 +02:00
properties.c backend/drm: add support for the link-status property 2018-10-04 21:54:27 +02:00
renderer.c Remove unused data from gbm_bo userdata 2018-08-04 17:02:53 +12:00
util.c backend/drm: update EDID manufacturers database 2018-10-04 10:58:45 +02:00