summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/intel_display.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c
index e1d9d4d0..e2d2a5fb 100644
--- a/linux-core/intel_display.c
+++ b/linux-core/intel_display.c
@@ -1167,13 +1167,10 @@ struct drm_crtc *intel_get_load_detect_pipe(struct intel_output *intel_output,
}
/*
- * If we didn't find an unused CRTC, use the first available one
- * that can drive this connector.
+ * If we didn't find an unused CRTC, don't use any.
*/
if (!crtc) {
- crtc = supported_crtc;
- if (!crtc)
- return NULL;
+ return NULL;
}
encoder->crtc = crtc;