1
0
Fork 0
forked from wry/wry

metal: disable VRR if connector loses capability

This commit is contained in:
Julian Orth 2026-01-17 19:05:22 +01:00
parent 2c03dbbaa4
commit ea6ad82575

View file

@ -1346,6 +1346,10 @@ fn create_connector_display_data(
Ok(c) => c.value == 1,
Err(_) => false,
};
if !vrr_capable && desired_state.vrr {
log::warn!("Connector has lost VRR capability");
desired_state.vrr = false;
}
{
let viable = match desired_state.eotf {
BackendEotfs::Default => true,