Subversion Repositories Kolibri OS

Rev

Rev 1963 | Rev 2004 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1963 Rev 1986
Line 588... Line 588...
588
	if (new_fb < 0)
588
	if (new_fb < 0)
589
		return new_fb;
589
		return new_fb;
Line 590... Line 590...
590
 
590
 
Line 591... Line -...
591
	info = fb_helper->fbdev;
-
 
592
 
-
 
593
#if 0
591
	info = fb_helper->fbdev;
594
 
592
 
595
	/* set the fb pointer */
593
	/* set the fb pointer */
596
	for (i = 0; i < fb_helper->crtc_count; i++) {
594
	for (i = 0; i < fb_helper->crtc_count; i++) {
Line 609... Line 607...
609
 
607
 
610
 
608
 
Line 611... Line -...
611
	if (new_fb)
-
 
Line 612... Line 609...
612
        list_add(&fb_helper->kernel_fb_list, &kernel_fb_helper_list);
609
	if (new_fb)
Line 613... Line 610...
613
 
610
        list_add(&fb_helper->kernel_fb_list, &kernel_fb_helper_list);
614
#endif
611
 
Line 924... Line 921...
924
 
921
 
925
	width = dev->mode_config.max_width;
922
	width = dev->mode_config.max_width;
Line 926... Line 923...
926
	height = dev->mode_config.max_height;
923
	height = dev->mode_config.max_height;
927
 
924
 
928
	/* clean out all the encoder/crtc combos */
925
	/* clean out all the encoder/crtc combos */
929
//   list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
926
   list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
Line 930... Line 927...
930
//       encoder->crtc = NULL;
927
//       encoder->crtc = NULL;
931
//   }
928
   }
932
 
929
 
933
	crtcs = kcalloc(dev->mode_config.num_connector,
930
	crtcs = kcalloc(dev->mode_config.num_connector,
Line 1015... Line 1012...
1015
	if (count == 0) {
1012
	if (count == 0) {
1016
		printk(KERN_INFO "No connectors reported connected with modes\n");
1013
		printk(KERN_INFO "No connectors reported connected with modes\n");
1017
	}
1014
	}
1018
	drm_setup_crtcs(fb_helper);
1015
	drm_setup_crtcs(fb_helper);
Line 1019... Line -...
1019
 
-
 
1020
 
-
 
1021
 
1016
 
1022
	return drm_fb_helper_single_fb_probe(fb_helper, bpp_sel);
1017
	return drm_fb_helper_single_fb_probe(fb_helper, bpp_sel);
1023
}
1018
}