diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-18 12:25:55 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-26 23:34:37 +0200 |
commit | d6cc7184729029a4d8e9dc5e306a17fe9bb7e342 (patch) | |
tree | 884ffc36a5cfadfcc40bedc2480b74e815bfa47a /include/backend | |
parent | 61095f4a12461944a400094be6cfa677da7c9928 (diff) |
backend/drm: nuke retry_pageflip
retry_pageflip is now dead code, since drm_connector_start_renderer
isn't called anymore. It was previously called when enabling an output.
The name "retry_pageflip" was a little confusing because the function
retried a modeset and the timer wasn't set up while performing a simple
page-flip.
Let's just remove this altogether for now. We can discuss whether it's
worth it to bring it back. Should we only do it on failed page-flips?
Should we only do it on EBUSY?
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/drm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 30bf41a6..dc34c681 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -131,7 +131,6 @@ struct wlr_drm_connector { drmModeCrtc *old_crtc; - struct wl_event_source *retry_pageflip; struct wl_list link; /* |