Commit 328c057c authored by Daniel Vetter's avatar Daniel Vetter Committed by Inki Dae

drm/exynos: Stop using drm_framebuffer_unregister_private

This is the deprecated function for when you embedded the framebuffer
somewhere else (which breaks refcounting). But exynos is using
drm_framebuffer_remove and a free-standing fb, so this is rendundant.
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent cc2b0225
...@@ -270,11 +270,9 @@ static void exynos_drm_fbdev_destroy(struct drm_device *dev, ...@@ -270,11 +270,9 @@ static void exynos_drm_fbdev_destroy(struct drm_device *dev,
/* release drm framebuffer and real buffer */ /* release drm framebuffer and real buffer */
if (fb_helper->fb && fb_helper->fb->funcs) { if (fb_helper->fb && fb_helper->fb->funcs) {
fb = fb_helper->fb; fb = fb_helper->fb;
if (fb) { if (fb)
drm_framebuffer_unregister_private(fb);
drm_framebuffer_remove(fb); drm_framebuffer_remove(fb);
} }
}
drm_fb_helper_unregister_fbi(fb_helper); drm_fb_helper_unregister_fbi(fb_helper);
drm_fb_helper_release_fbi(fb_helper); drm_fb_helper_release_fbi(fb_helper);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment