backends/drm: let DrmGpu handle mode changes
Doing a test is not sufficient for mode changes BUG: 450804
This commit is contained in:
parent
907cf72bb0
commit
6bd6ad9d59
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ void DrmOutput::updateModes()
|
|||
if (currentMode != m_pipeline->pending.mode) {
|
||||
// DrmConnector::findCurrentMode might fail
|
||||
m_pipeline->pending.mode = currentMode ? currentMode : m_pipeline->connector()->modes().constFirst();
|
||||
if (DrmPipeline::commitPipelines(m_gpu->pipelines(), DrmPipeline::CommitMode::Test)) {
|
||||
if (m_gpu->testPendingConfiguration(DrmGpu::TestMode::TestWithCrtcReallocation)) {
|
||||
m_pipeline->applyPendingChanges();
|
||||
setCurrentModeInternal(m_pipeline->pending.mode->size(), m_pipeline->pending.mode->refreshRate());
|
||||
m_renderLoop->setRefreshRate(m_pipeline->pending.mode->refreshRate());
|
||||
|
|
Loading…
Reference in a new issue