aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-01-10 16:04:19 +0100
committerDrew DeVault <sir@cmpwn.com>2020-03-06 21:32:58 +0100
commit52c67284e25c6a31a260b4918132f7842e18532d (patch)
tree6a147d81ae01e90cc202c7af0f225e32026389d2 /include/backend/drm
parent9be1af3afb1ffe2b51eacdcc59c1d5f17cf6d205 (diff)
backend/drm: add support for adaptive_sync_enabled
The vrr_capable and VRR_ENABLED properties are used.
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/properties.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/drm/properties.h b/include/backend/drm/properties.h
index 28f0dbe4..810a03a3 100644
--- a/include/backend/drm/properties.h
+++ b/include/backend/drm/properties.h
@@ -16,6 +16,7 @@ union wlr_drm_connector_props {
uint32_t dpms;
uint32_t link_status; // not guaranteed to exist
uint32_t path;
+ uint32_t vrr_capable; // not guaranteed to exist
// atomic-modesetting only
@@ -29,6 +30,7 @@ union wlr_drm_crtc_props {
// Neither of these are guaranteed to exist
uint32_t rotation;
uint32_t scaling_mode;
+ uint32_t vrr_enabled;
// atomic-modesetting only