Lines Matching refs:helper
67 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
99 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
131 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
163 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
190 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
203 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
233 if (drm->fbcon && drm->fbcon->helper.fbdev) {
234 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags;
235 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED;
243 if (drm->fbcon && drm->fbcon->helper.fbdev) {
244 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags;
255 if (fbcon->helper.fbdev)
256 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED;
274 struct fb_info *info = fbcon->helper.fbdev;
292 struct fb_info *info = fbcon->helper.fbdev;
308 nouveau_fbcon_create(struct drm_fb_helper *helper,
312 container_of(helper, struct nouveau_fbdev, helper);
313 struct drm_device *dev = fbcon->helper.dev;
365 info = drm_fb_helper_alloc_fbi(helper);
371 /* setup helper */
372 fbcon->helper.fb = fb;
387 drm_fb_helper_fill_info(info, &fbcon->helper, sizes);
417 struct drm_framebuffer *fb = fbcon->helper.fb;
420 drm_fb_helper_unregister_fbi(&fbcon->helper);
421 drm_fb_helper_fini(&fbcon->helper);
437 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);
459 drm_fb_helper_set_suspend(&drm->fbcon->helper, state);
501 drm_fb_helper_hotplug_event(&fbcon->helper);
530 drm = nouveau_drm(fbcon->helper.dev);
537 drm_fb_helper_hotplug_event(&fbcon->helper);
562 drm_fb_helper_prepare(dev, &fbcon->helper, &nouveau_fbcon_helper_funcs);
564 ret = drm_fb_helper_init(dev, &fbcon->helper);
582 ret = drm_fb_helper_initial_config(&fbcon->helper, preferred_bpp);
586 if (fbcon->helper.fbdev)
587 fbcon->helper.fbdev->pixmap.buf_align = 4;
591 drm_fb_helper_fini(&fbcon->helper);