projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f608595
)
drm/cma: Remove call to drm_gem_free_mmap_offset()
author
Thierry Reding
<treding@nvidia.com>
Thu, 6 Nov 2014 13:07:14 +0000
(14:07 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 13 Nov 2014 12:27:33 +0000
(13:27 +0100)
drm_gem_object_release() called later in the drm_gem_cma_free_object()
function already calls this, so there's no need to do this explicitly.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_gem_cma_helper.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_gem_cma_helper.c
b/drivers/gpu/drm/drm_gem_cma_helper.c
index 864b0863d042e237caa75fb2697f1414cbdebbc6..e419eedf751de6cb4c3f0b64b88dcd771cf594bc 100644
(file)
--- a/
drivers/gpu/drm/drm_gem_cma_helper.c
+++ b/
drivers/gpu/drm/drm_gem_cma_helper.c
@@
-187,8
+187,6
@@
void drm_gem_cma_free_object(struct drm_gem_object *gem_obj)
{
struct drm_gem_cma_object *cma_obj;
- drm_gem_free_mmap_offset(gem_obj);
-
cma_obj = to_drm_gem_cma_obj(gem_obj);
if (cma_obj->vaddr) {