summaryrefslogtreecommitdiff
path: root/gralloc4/src
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc4/src')
-rw-r--r--gralloc4/src/core/mali_gralloc_reference.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/gralloc4/src/core/mali_gralloc_reference.cpp b/gralloc4/src/core/mali_gralloc_reference.cpp
index 59f82b4..35d2358 100644
--- a/gralloc4/src/core/mali_gralloc_reference.cpp
+++ b/gralloc4/src/core/mali_gralloc_reference.cpp
@@ -70,9 +70,6 @@ int mali_gralloc_reference_map(buffer_handle_t handle) {
int retval = mali_gralloc_ion_map(hnd);
- /* Import ION handle to let ION driver know who's using the buffer */
- import_exynos_ion_handles(hnd);
-
pthread_mutex_unlock(&s_map_lock);
return retval;
@@ -102,7 +99,6 @@ int mali_gralloc_reference_release(buffer_handle_t handle, bool canFree)
if (hnd->ref_count == 0 && canFree)
{
- free_exynos_ion_handles(hnd);
mali_gralloc_dump_buffer_erase(hnd);
mali_gralloc_buffer_free(handle);
delete handle;
@@ -116,7 +112,6 @@ int mali_gralloc_reference_release(buffer_handle_t handle, bool canFree)
if (hnd->ref_count == 0)
{
mali_gralloc_ion_unmap(hnd);
- free_exynos_ion_handles(hnd);
/* TODO: Make this unmapping of shared meta fd into a function? */
if (hnd->attr_base)