drm_gpu: don't bother trying to assign a crtc to a connector that isn't connected
BUG: 457002
This commit is contained in:
parent
f2e594358c
commit
506e2d6f9f
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ DrmPipeline::Error DrmGpu::checkCrtcAssignment(QVector<DrmConnector *> connector
|
|||
}
|
||||
auto connector = connectors.takeFirst();
|
||||
auto pipeline = connector->pipeline();
|
||||
if (!pipeline->enabled()) {
|
||||
if (!pipeline->enabled() || !connector->isConnected()) {
|
||||
// disabled pipelines don't need CRTCs
|
||||
pipeline->setCrtc(nullptr);
|
||||
return checkCrtcAssignment(connectors, crtcs);
|
||||
|
|
Loading…
Reference in a new issue