mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
gpu: ion: Add missing iommu heap destroy call
When a heap is destroyed a heap type specific function is called to release memory that the heap structures used. A case statement handling destroying the iommu heap is missing. Add missing case statement. Change-Id: I1aa54209a55db06becc570f65ecf0f740d2e9545 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
This commit is contained in:
parent
b6a020a45b
commit
15787d4cd0
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,9 @@ void ion_heap_destroy(struct ion_heap *heap)
|
|||
case ION_HEAP_TYPE_CARVEOUT:
|
||||
ion_carveout_heap_destroy(heap);
|
||||
break;
|
||||
case ION_HEAP_TYPE_IOMMU:
|
||||
ion_iommu_heap_destroy(heap);
|
||||
break;
|
||||
case ION_HEAP_TYPE_CP:
|
||||
ion_cp_heap_destroy(heap);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue