Lines Matching refs:helper
82 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
114 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
146 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
178 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
205 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
216 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
248 if (drm->fbcon && drm->fbcon->helper.fbdev) {
249 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags;
250 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED;
260 if (drm->fbcon && drm->fbcon->helper.fbdev) {
261 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags;
274 if (fbcon->helper.fbdev)
275 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED;
295 struct fb_info *info = fbcon->helper.fbdev;
315 struct drm_framebuffer *fb = fbcon->helper.fb;
323 struct fb_info *info = fbcon->helper.fbdev;
351 nouveau_fbcon_create(struct drm_fb_helper *helper,
355 container_of(helper, struct nouveau_fbdev, helper);
356 struct drm_device *dev = fbcon->helper.dev;
411 fbcon->helper.fb = &fb->base;
418 nfa.nfa_fb_helper = &fbcon->helper;
424 helper->fbdev = config_found(dev->dev, &nfa, nouveau_fbcon_print,
427 if (helper->fbdev == NULL) {
433 info = drm_fb_helper_alloc_fbi(helper);
439 /* setup helper */
440 fbcon->helper.fb = &fb->base;
456 drm_fb_helper_fill_info(info, &fbcon->helper, sizes);
488 struct nouveau_framebuffer *nouveau_fb = nouveau_framebuffer(fbcon->helper.fb);
490 drm_fb_helper_unregister_fbi(&fbcon->helper);
491 drm_fb_helper_fini(&fbcon->helper);
507 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
530 drm_fb_helper_set_suspend(&drm->fbcon->helper, state);
572 drm_fb_helper_hotplug_event(&fbcon->helper);
601 drm = nouveau_drm(fbcon->helper.dev);
608 drm_fb_helper_hotplug_event(&fbcon->helper);
633 drm_fb_helper_prepare(dev, &fbcon->helper, &nouveau_fbcon_helper_funcs);
635 ret = drm_fb_helper_init(dev, &fbcon->helper, 4);
639 ret = drm_fb_helper_single_add_all_connectors(&fbcon->helper);
657 ret = drm_fb_helper_initial_config(&fbcon->helper, preferred_bpp);
662 if (fbcon->helper.fbdev)
663 fbcon->helper.fbdev->pixmap.buf_align = 4;
668 drm_fb_helper_fini(&fbcon->helper);