summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-06-06 10:31:36 +1000
committerDave Airlie <airlied@linux.ie>2008-06-06 10:31:36 +1000
commit5f94172f81120c56ba07843ff860a9e265dac1f8 (patch)
tree523f73d8d75b2d6382df8a981576332d7f447486 /linux-core
parentd9ead89c79732124f54b4a9dfe698bc7aad7faee (diff)
intel: if no spare crtc exists don't just take one.
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;