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,12 +1167,9 @@ 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;
}