Lines Matching full:helper

27 	struct drm_fb_helper *helper = info->par;  in tegra_fb_mmap()  local
31 bo = tegra_fb_get_plane(helper->fb, 0); in tegra_fb_mmap()
42 struct drm_fb_helper *helper = info->par; in tegra_fbdev_fb_destroy() local
43 struct drm_framebuffer *fb = helper->fb; in tegra_fbdev_fb_destroy()
46 drm_fb_helper_fini(helper); in tegra_fbdev_fb_destroy()
55 drm_client_release(&helper->client); in tegra_fbdev_fb_destroy()
56 drm_fb_helper_unprepare(helper); in tegra_fbdev_fb_destroy()
57 kfree(helper); in tegra_fbdev_fb_destroy()
69 static int tegra_fbdev_probe(struct drm_fb_helper *helper, in tegra_fbdev_probe() argument
72 struct tegra_drm *tegra = helper->dev->dev_private; in tegra_fbdev_probe()
73 struct drm_device *drm = helper->dev; in tegra_fbdev_probe()
99 info = drm_fb_helper_alloc_info(helper); in tegra_fbdev_probe()
115 helper->fb = fb; in tegra_fbdev_probe()
116 helper->info = info; in tegra_fbdev_probe()
120 drm_fb_helper_fill_info(info, helper, sizes); in tegra_fbdev_probe()
214 struct drm_fb_helper *helper; in tegra_fbdev_setup() local
220 helper = kzalloc(sizeof(*helper), GFP_KERNEL); in tegra_fbdev_setup()
221 if (!helper) in tegra_fbdev_setup()
223 drm_fb_helper_prepare(dev, helper, 32, &tegra_fb_helper_funcs); in tegra_fbdev_setup()
225 ret = drm_client_init(dev, &helper->client, "fbdev", &tegra_fbdev_client_funcs); in tegra_fbdev_setup()
229 drm_client_register(&helper->client); in tegra_fbdev_setup()
234 drm_fb_helper_unprepare(helper); in tegra_fbdev_setup()
235 kfree(helper); in tegra_fbdev_setup()