backend/drm: Track page flips in list

This commit is contained in:
Alexander Orzechowski 2023-11-17 13:49:18 -05:00
parent 3b53d1cbf1
commit 3aed24b8d4
3 changed files with 16 additions and 2 deletions

View file

@ -207,6 +207,7 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
drm->session = session;
wl_list_init(&drm->fbs);
wl_list_init(&drm->connectors);
wl_list_init(&drm->page_flips);
drm->dev = dev;
drm->fd = dev->fd;