1
0
Fork 0
forked from wry/wry

Merge pull request #720 from mahkoh/jorth/auto-disable-vrr

metal: disable VRR if connector loses capability
This commit is contained in:
mahkoh 2026-01-17 19:11:53 +01:00 committed by GitHub
commit 8bcd37cf5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,