summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2014-09-09 15:16:07 +0200
committerInki Dae <daeinki@gmail.com>2014-09-20 00:56:14 +0900
commit78ef31e20452ddb1c101efae6147b910c5f454f5 (patch)
tree68fd0e1e9d8cdc682698814238e79620ad7fe085 /drivers/gpu/drm/exynos/exynos_drm_fbdev.c
parent9f3dd7dbc5a5b6048d7dfccff5e0e9d8b50ff674 (diff)
downloadtalos-obmc-linux-78ef31e20452ddb1c101efae6147b910c5f454f5.tar.gz
talos-obmc-linux-78ef31e20452ddb1c101efae6147b910c5f454f5.zip
drm/exynos/fbdev: fix fbdev gem object cleanup
exynos_gem_obj is used by exynos_drm_fbdev_destroy so it cannot be destroyed before calling the latter. exynos_gem_obj will be destroyed anyway by exynos_drm_fbdev_destroy->...->exynos_drm_fb_destroy. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_fbdev.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fbdev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
index cb73e2be3483..e12ea90c6237 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
@@ -354,9 +354,6 @@ void exynos_drm_fbdev_fini(struct drm_device *dev)
fbdev = to_exynos_fbdev(private->fb_helper);
- if (fbdev->exynos_gem_obj)
- exynos_drm_gem_destroy(fbdev->exynos_gem_obj);
-
exynos_drm_fbdev_destroy(dev, private->fb_helper);
kfree(fbdev);
private->fb_helper = NULL;
OpenPOWER on IntegriCloud