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:
6738e7b
)
NV50: fix minor bug in fbcon crtc selection
author
Maarten Maathuis
<madman2003@gmail.com>
Sun, 6 Jul 2008 09:23:17 +0000
(11:23 +0200)
committer
Maarten Maathuis
<madman2003@gmail.com>
Sun, 6 Jul 2008 09:23:17 +0000
(11:23 +0200)
linux-core/nv50_fbcon.c
patch
|
blob
|
history
diff --git
a/linux-core/nv50_fbcon.c
b/linux-core/nv50_fbcon.c
index
80597a7
..
3dd7306
100644
(file)
--- a/
linux-core/nv50_fbcon.c
+++ b/
linux-core/nv50_fbcon.c
@@
-290,13
+290,13
@@
static int nv50_fbcon_set_par(struct fb_info *info)
if (drm_encoder->crtc) {
list_for_each_entry(drm_crtc, &dev->mode_config.crtc_list, head) {
- crtc_count++;
-
if (drm_crtc == drm_encoder->crtc) {
if (!crtc_used[crtc_count]) /* still available? */
mode_set.crtc = drm_crtc;
break;
}
+
+ crtc_count++;
}
}
}