Lines Matching refs: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()
372 fbcon->helper.fb = fb; in nouveau_fbcon_create()
387 drm_fb_helper_fill_info(info, &fbcon->helper, sizes); in nouveau_fbcon_create()
417 struct drm_framebuffer *fb = fbcon->helper.fb; in nouveau_fbcon_destroy()
420 drm_fb_helper_unregister_fbi(&fbcon->helper); in nouveau_fbcon_destroy()
421 drm_fb_helper_fini(&fbcon->helper); in nouveau_fbcon_destroy()
437 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_gpu_lockup()
459 drm_fb_helper_set_suspend(&drm->fbcon->helper, state); in nouveau_fbcon_set_suspend_work()
501 drm_fb_helper_hotplug_event(&fbcon->helper); in nouveau_fbcon_output_poll_changed()
530 drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_hotplug_resume()
537 drm_fb_helper_hotplug_event(&fbcon->helper); in nouveau_fbcon_hotplug_resume()
562 drm_fb_helper_prepare(dev, &fbcon->helper, &nouveau_fbcon_helper_funcs); in nouveau_fbcon_init()
564 ret = drm_fb_helper_init(dev, &fbcon->helper); in nouveau_fbcon_init()
582 ret = drm_fb_helper_initial_config(&fbcon->helper, preferred_bpp); in nouveau_fbcon_init()
586 if (fbcon->helper.fbdev) in nouveau_fbcon_init()
587 fbcon->helper.fbdev->pixmap.buf_align = 4; in nouveau_fbcon_init()
591 drm_fb_helper_fini(&fbcon->helper); in nouveau_fbcon_init()