NV50: fix minor bug in fbcon crtc selection

main
Maarten Maathuis 2008-07-06 11:23:17 +02:00
parent 6738e7b00b
commit 88f668a0b9
1 changed files with 2 additions and 2 deletions

View File

@ -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++;
}
}
}