Commit 506e2d6f authored by Jan Blackquill's avatar Jan Blackquill 🌈 Committed by Xaver Hugl
Browse files

drm_gpu: don't bother trying to assign a crtc to a connector that isn't connected

BUG: 457002
parent f2e59435
Pipeline #218644 failed with stage
in 22 minutes and 41 seconds
......@@ -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
return checkCrtcAssignment(connectors, crtcs);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment