projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e7191
)
drm/exynos: remove call to drm_gem_free_mmap_offset()
author
Joonyoung Shim
<jy0922.shim@samsung.com>
Fri, 25 Sep 2015 09:10:32 +0000
(18:10 +0900)
committer
Inki Dae
<inki.dae@samsung.com>
Wed, 30 Sep 2015 07:39:41 +0000
(16:39 +0900)
The drm_gem_object_release() function already performs this cleanup,
so there is no reason to do it explicitly.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_gem.c
b/drivers/gpu/drm/exynos/exynos_drm_gem.c
index 3df1e0e81014783e90eaa5a11a437eb487d61c8f..5c94863a4ca640ac77732b64cb2e502ff32a5e99 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_gem.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_gem.c
@@
-152,8
+152,6
@@
void exynos_drm_gem_destroy(struct exynos_drm_gem_obj *exynos_gem_obj)
else
exynos_drm_free_buf(exynos_gem_obj);
- drm_gem_free_mmap_offset(obj);
-
/* release file pointer to gem object. */
drm_gem_object_release(obj);
@@
-530,7
+528,6
@@
int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
err_close_vm:
drm_gem_vm_close(vma);
- drm_gem_free_mmap_offset(obj);
return ret;
}