metal: disable VRR if connector loses capability
This commit is contained in:
parent
2c03dbbaa4
commit
ea6ad82575
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue