590,8 → 590,6 |
|
info = fb_helper->fbdev; |
|
#if 0 |
|
/* set the fb pointer */ |
for (i = 0; i < fb_helper->crtc_count; i++) { |
fb_helper->crtc_info[i].mode_set.fb = fb_helper->fb; |
611,7 → 609,6 |
if (new_fb) |
list_add(&fb_helper->kernel_fb_list, &kernel_fb_helper_list); |
|
#endif |
|
LEAVE(); |
|
926,9 → 923,9 |
height = dev->mode_config.max_height; |
|
/* clean out all the encoder/crtc combos */ |
// list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { |
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { |
// encoder->crtc = NULL; |
// } |
} |
|
crtcs = kcalloc(dev->mode_config.num_connector, |
sizeof(struct drm_fb_helper_crtc *), GFP_KERNEL); |
1017,8 → 1014,6 |
} |
drm_setup_crtcs(fb_helper); |
|
|
|
return drm_fb_helper_single_fb_probe(fb_helper, bpp_sel); |
} |
EXPORT_SYMBOL(drm_fb_helper_initial_config); |