intel: if no spare crtc exists don't just take one.
parent
d9ead89c79
commit
5f94172f81
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue