backend/drm: add support for adaptive_sync_enabled

The vrr_capable and VRR_ENABLED properties are used.
This commit is contained in:
Simon Ser 2020-01-10 16:04:19 +01:00 committed by Drew DeVault
parent 9be1af3afb
commit 52c67284e2
3 changed files with 46 additions and 0 deletions

View file

@ -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