summaryrefslogtreecommitdiff
path: root/gralloc4/src
diff options
context:
space:
mode:
authorAnkit Goyal <layog@google.com>2021-06-25 03:01:31 +0800
committerAnkit Goyal <layog@google.com>2021-06-28 16:38:25 +0800
commite181278785d76579e4b2209721abad44d8df8c05 (patch)
tree8828240d88d454b21d8c7f6f2456f4ef5439a665 /gralloc4/src
parentb9eb3b87924454e3bf6810c92970c92d84f1f9eb (diff)
downloadgchips-e181278785d76579e4b2209721abad44d8df8c05.tar.gz
Remove deprecated ION calls from reference
Bug: 190688388 Test: Removed a no-op Change-Id: Id3ff97cefda191699a824a8fce4dd2f74c124624
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)