aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-27 16:43:19 +0200
committerDrew DeVault <sir@cmpwn.com>2020-06-01 11:45:11 -0600
commit70f3a0bb27805c6c5cd629ee66612cc1961364e2 (patch)
tree12afcb8c0cbf0894d0e078ef73dcead47ae65295 /include/backend
parent42126c2022316db11cca9105f5276d33765ef26c (diff)
backend/drm: make adaptive_sync atomic
Stop using drmModeObjectSetProperty, set the property in the crtc_commit function instead.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 83fb6293..c5685079 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -153,6 +153,7 @@ int handle_drm_event(int fd, uint32_t mask, void *data);
bool drm_connector_set_mode(struct wlr_drm_connector *conn,
struct wlr_output_mode *mode);
bool drm_connector_is_cursor_visible(struct wlr_drm_connector *conn);
+bool drm_connector_supports_vrr(struct wlr_drm_connector *conn);
size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm,
struct wlr_drm_crtc *crtc);