Lines Matching full:helper
44 struct drm_fb_helper *helper = &fbdev->base; in pan_worker() local
45 struct fb_info *fbi = helper->info; in pan_worker()
46 struct drm_gem_object *bo = drm_gem_fb_get_obj(helper->fb, 0); in pan_worker()
61 struct drm_fb_helper *helper = get_fb(fbi); in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS() local
62 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
64 if (!helper) in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
73 struct omap_drm_private *priv = helper->dev->dev_private; in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
92 struct drm_fb_helper *helper = info->par; in omap_fbdev_fb_destroy() local
93 struct drm_framebuffer *fb = helper->fb; in omap_fbdev_fb_destroy()
95 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_fb_destroy()
100 drm_fb_helper_fini(helper); in omap_fbdev_fb_destroy()
105 drm_client_release(&helper->client); in omap_fbdev_fb_destroy()
106 drm_fb_helper_unprepare(helper); in omap_fbdev_fb_destroy()
128 static int omap_fbdev_create(struct drm_fb_helper *helper, in omap_fbdev_create() argument
131 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_create()
132 struct drm_device *dev = helper->dev; in omap_fbdev_create()
202 fbi = drm_fb_helper_alloc_info(helper); in omap_fbdev_create()
211 helper->fb = fb; in omap_fbdev_create()
215 drm_fb_helper_fill_info(fbi, helper, sizes); in omap_fbdev_create()
224 helper->fbdefio.delay = HZ / 20; in omap_fbdev_create()
225 helper->fbdefio.deferred_io = drm_fb_helper_deferred_io; in omap_fbdev_create()
227 fbi->fbdefio = &helper->fbdefio; in omap_fbdev_create()
257 static int omap_fbdev_dirty(struct drm_fb_helper *helper, struct drm_clip_rect *clip) in omap_fbdev_dirty() argument
262 if (helper->fb->funcs->dirty) in omap_fbdev_dirty()
263 return helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in omap_fbdev_dirty()
342 struct drm_fb_helper *helper; in omap_fbdev_setup() local
351 helper = &fbdev->base; in omap_fbdev_setup()
353 drm_fb_helper_prepare(dev, helper, 32, &omap_fb_helper_funcs); in omap_fbdev_setup()
355 ret = drm_client_init(dev, &helper->client, "fbdev", &omap_fbdev_client_funcs); in omap_fbdev_setup()
361 drm_client_register(&helper->client); in omap_fbdev_setup()
366 drm_fb_helper_unprepare(helper); in omap_fbdev_setup()