Lines Matching full:helper
58 struct drm_fb_helper helper; member
75 return container_of(fb_helper, struct intel_fbdev, helper); in to_intel_fbdev()
141 struct intel_fbdev *ifbdev = container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_fb_destroy()
143 drm_fb_helper_fini(&ifbdev->helper); in intel_fbdev_fb_destroy()
154 drm_fb_helper_unprepare(&ifbdev->helper); in intel_fbdev_fb_destroy()
175 static int intelfb_create(struct drm_fb_helper *helper, in intelfb_create() argument
178 struct intel_fbdev *ifbdev = to_intel_fbdev(helper); in intelfb_create()
180 struct drm_device *dev = helper->dev; in intelfb_create()
215 fb = intel_fbdev_fb_alloc(helper, sizes); in intelfb_create()
239 info = drm_fb_helper_alloc_info(helper); in intelfb_create()
246 ifbdev->helper.fb = &fb->base; in intelfb_create()
256 drm_fb_helper_fill_info(info, &ifbdev->helper, sizes); in intelfb_create()
285 static int intelfb_dirty(struct drm_fb_helper *helper, struct drm_clip_rect *clip) in intelfb_dirty() argument
290 if (helper->fb->funcs->dirty) in intelfb_dirty()
291 return helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in intelfb_dirty()
481 drm_fb_helper_hotplug_event(&ifbdev->helper); in intel_fbdev_hpd_set_suspend()
500 info = ifbdev->helper.info; in intel_fbdev_set_suspend()
539 drm_fb_helper_set_suspend(&ifbdev->helper, state); in intel_fbdev_set_suspend()
559 if (send_hpd && (ifbdev->vma || ifbdev->helper.deferred_setup)) in intel_fbdev_output_poll_changed()
560 drm_fb_helper_hotplug_event(&ifbdev->helper); in intel_fbdev_output_poll_changed()
576 ret = drm_fb_helper_restore_fbdev_mode_unlocked(&ifbdev->helper); in intel_fbdev_restore_mode()
667 drm_fb_helper_prepare(dev, &ifbdev->helper, 32, &intel_fb_helper_funcs); in intel_fbdev_setup()
673 ifbdev->helper.preferred_bpp = ifbdev->preferred_bpp; in intel_fbdev_setup()
675 ifbdev->preferred_bpp = ifbdev->helper.preferred_bpp; in intel_fbdev_setup()
677 ret = drm_client_init(dev, &ifbdev->helper.client, "intel-fbdev", in intel_fbdev_setup()
684 drm_client_register(&ifbdev->helper.client); in intel_fbdev_setup()
689 drm_fb_helper_unprepare(&ifbdev->helper); in intel_fbdev_setup()
696 if (!fbdev || !fbdev->helper.fb) in intel_fbdev_framebuffer()
699 return to_intel_framebuffer(fbdev->helper.fb); in intel_fbdev_framebuffer()