projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9ead89
)
intel: if no spare crtc exists don't just take one.
author
Dave Airlie
<airlied@linux.ie>
Fri, 6 Jun 2008 00:31:36 +0000
(10:31 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Fri, 6 Jun 2008 00:31:36 +0000
(10:31 +1000)
linux-core/intel_display.c
patch
|
blob
|
history
diff --git
a/linux-core/intel_display.c
b/linux-core/intel_display.c
index
e1d9d4d
..
e2d2a5f
100644
(file)
--- 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;