intel: if no spare crtc exists don't just take one.

main
Dave Airlie 2008-06-06 10:31:36 +10:00
parent d9ead89c79
commit 5f94172f81
1 changed files with 2 additions and 5 deletions

View File

@ -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 * If we didn't find an unused CRTC, don't use any.
* that can drive this connector.
*/ */
if (!crtc) { if (!crtc) {
crtc = supported_crtc; return NULL;
if (!crtc)
return NULL;
} }
encoder->crtc = crtc; encoder->crtc = crtc;