backends/drm: apply changes after setting initial mode
If the changed mode isn't applied, it might be reverted if an atomic commit fails
This commit is contained in:
parent
4b9fc5f9ce
commit
08324f0924
1 changed files with 1 additions and 0 deletions
|
@ -344,6 +344,7 @@ bool DrmConnector::updateProperties()
|
|||
} else {
|
||||
if (!m_pipeline->pending.mode) {
|
||||
m_pipeline->pending.mode = m_modes.constFirst();
|
||||
m_pipeline->applyPendingChanges();
|
||||
}
|
||||
if (m_pipeline->output()) {
|
||||
m_pipeline->output()->updateModes();
|
||||
|
|
Loading…
Reference in a new issue