Lines Matching full:helper
67 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_fillrect()
99 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_copyarea()
131 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_imageblit()
163 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_sync()
190 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_open()
203 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_release()
233 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_save_disable()
234 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; in nouveau_fbcon_accel_save_disable()
235 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_save_disable()
243 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_restore()
244 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags; in nouveau_fbcon_accel_restore()
255 if (fbcon->helper.fbdev) in nouveau_fbcon_accel_fini()
256 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_fini()
274 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_accel_init()
292 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_zfill()
308 nouveau_fbcon_create(struct drm_fb_helper *helper, in nouveau_fbcon_create() argument
312 container_of(helper, struct nouveau_fbdev, helper); in nouveau_fbcon_create()
313 struct drm_device *dev = fbcon->helper.dev; in nouveau_fbcon_create()
365 info = drm_fb_helper_alloc_fbi(helper); in nouveau_fbcon_create()
374 /* setup helper */ in nouveau_fbcon_create()
375 fbcon->helper.fb = &fb->base; in nouveau_fbcon_create()
395 drm_fb_helper_fill_var(info, &fbcon->helper, sizes->fb_width, sizes->fb_height); in nouveau_fbcon_create()
425 struct nouveau_framebuffer *nouveau_fb = nouveau_framebuffer(fbcon->helper.fb); in nouveau_fbcon_destroy()
427 drm_fb_helper_unregister_fbi(&fbcon->helper); in nouveau_fbcon_destroy()
428 drm_fb_helper_fini(&fbcon->helper); in nouveau_fbcon_destroy()
443 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_gpu_lockup()
465 drm_fb_helper_set_suspend(&drm->fbcon->helper, state); in nouveau_fbcon_set_suspend_work()
507 drm_fb_helper_hotplug_event(&fbcon->helper); in nouveau_fbcon_output_poll_changed()
536 drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_hotplug_resume()
543 drm_fb_helper_hotplug_event(&fbcon->helper); in nouveau_fbcon_hotplug_resume()
568 drm_fb_helper_prepare(dev, &fbcon->helper, &nouveau_fbcon_helper_funcs); in nouveau_fbcon_init()
570 ret = drm_fb_helper_init(dev, &fbcon->helper, 4); in nouveau_fbcon_init()
574 ret = drm_fb_helper_single_add_all_connectors(&fbcon->helper); in nouveau_fbcon_init()
592 ret = drm_fb_helper_initial_config(&fbcon->helper, preferred_bpp); in nouveau_fbcon_init()
596 if (fbcon->helper.fbdev) in nouveau_fbcon_init()
597 fbcon->helper.fbdev->pixmap.buf_align = 4; in nouveau_fbcon_init()
601 drm_fb_helper_fini(&fbcon->helper); in nouveau_fbcon_init()