Displaying 2 results from an estimated 2 matches for "drm_fb_helper_unprepare".
Did you mean:
drm_fb_helper_prepare
2024 Sep 26
1
[PATCH v5 79/80] drm/omapdrm: Remove struct drm_fb_helper from struct omap_fbdev.
...> struct drm_gem_object *bo = drm_gem_fb_get_obj(fb, 0);
> - struct omap_fbdev *fbdev = to_omap_fbdev(helper);
>
> DBG();
>
> @@ -104,7 +103,7 @@ static void omap_fbdev_fb_destroy(struct fb_info *info)
>
> drm_client_release(&helper->client);
> drm_fb_helper_unprepare(helper);
> - kfree(fbdev);
> + kfree(helper);
> }
>
> /*
> @@ -128,9 +127,9 @@ static const struct fb_ops omap_fb_ops = {
> static int omap_fbdev_create(struct drm_fb_helper *helper,
> struct drm_fb_helper_surface_size *sizes)
> {
> - struct omap_fbdev *...
2024 Aug 21
1
[PATCH v2 78/86] drm/radeon: Run DRM default client setup
..._helper->dev;
- struct radeon_device *rdev = dev->dev_private;
-
- if (fb_helper->info) {
- vga_switcheroo_client_fb_set(rdev->pdev, NULL);
- drm_helper_force_disable_all(dev);
- drm_fb_helper_unregister_info(fb_helper);
- } else {
- drm_client_release(&fb_helper->client);
- drm_fb_helper_unprepare(fb_helper);
- kfree(fb_helper);
- }
-}
-
-static int radeon_fbdev_client_restore(struct drm_client_dev *client)
-{
- drm_fb_helper_lastclose(client->dev);
- vga_switcheroo_process_delayed_switch();
-
- return 0;
-}
-
-static int radeon_fbdev_client_hotplug(struct drm_client_dev *client)
-{
- st...