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

@ -24,6 +24,7 @@ static const struct prop_info connector_info[] = {
{ "EDID", INDEX(edid) },
{ "PATH", INDEX(path) },
{ "link-status", INDEX(link_status) },
{ "vrr_capable", INDEX(vrr_capable) },
#undef INDEX
};
@ -33,6 +34,7 @@ static const struct prop_info crtc_info[] = {
{ "GAMMA_LUT", INDEX(gamma_lut) },
{ "GAMMA_LUT_SIZE", INDEX(gamma_lut_size) },
{ "MODE_ID", INDEX(mode_id) },
{ "VRR_ENABLED", INDEX(vrr_enabled) },
{ "rotation", INDEX(rotation) },
{ "scaling mode", INDEX(scaling_mode) },
#undef INDEX