Lines Matching full:helper

68 	struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev);  in nouveau_fbcon_fillrect()
100 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_copyarea()
132 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_imageblit()
164 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_sync()
191 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_open()
204 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_release()
234 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_save_disable()
235 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; in nouveau_fbcon_accel_save_disable()
236 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_save_disable()
244 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_restore()
245 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags; in nouveau_fbcon_accel_restore()
256 if (fbcon->helper.fbdev) in nouveau_fbcon_accel_fini()
257 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_fini()
275 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_accel_init()
293 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_zfill()
309 nouveau_fbcon_create(struct drm_fb_helper *helper, in nouveau_fbcon_create() argument
313 container_of(helper, struct nouveau_fbdev, helper); in nouveau_fbcon_create()
314 struct drm_device *dev = fbcon->helper.dev; in nouveau_fbcon_create()
366 info = drm_fb_helper_alloc_fbi(helper); in nouveau_fbcon_create()
372 /* setup helper */ in nouveau_fbcon_create()
373 fbcon->helper.fb = fb; in nouveau_fbcon_create()
388 drm_fb_helper_fill_info(info, &fbcon->helper, sizes); in nouveau_fbcon_create()
420 struct drm_framebuffer *fb = fbcon->helper.fb; in nouveau_fbcon_destroy()
423 drm_fb_helper_unregister_fbi(&fbcon->helper); in nouveau_fbcon_destroy()
424 drm_fb_helper_fini(&fbcon->helper); in nouveau_fbcon_destroy()
440 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_gpu_lockup()
462 drm_fb_helper_set_suspend(&drm->fbcon->helper, state); in nouveau_fbcon_set_suspend_work()
504 drm_fb_helper_hotplug_event(&fbcon->helper); in nouveau_fbcon_output_poll_changed()
533 drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_hotplug_resume()
540 drm_fb_helper_hotplug_event(&fbcon->helper); in nouveau_fbcon_hotplug_resume()
565 drm_fb_helper_prepare(dev, &fbcon->helper, &nouveau_fbcon_helper_funcs); in nouveau_fbcon_init()
567 ret = drm_fb_helper_init(dev, &fbcon->helper); in nouveau_fbcon_init()
585 ret = drm_fb_helper_initial_config(&fbcon->helper, preferred_bpp); in nouveau_fbcon_init()
589 if (fbcon->helper.fbdev) in nouveau_fbcon_init()
590 fbcon->helper.fbdev->pixmap.buf_align = 4; in nouveau_fbcon_init()
594 drm_fb_helper_fini(&fbcon->helper); in nouveau_fbcon_init()