mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "ion: Remove ION_HEAP_FLAG_DEFER_FREE for dynamic carveout heaps"
This commit is contained in:
commit
c8879e200b
1 changed files with 2 additions and 1 deletions
|
|
@ -301,7 +301,8 @@ __ion_carveout_heap_create(struct ion_platform_heap *heap_data,
|
|||
carveout_heap->heap.ion_heap.buf_ops = msm_ion_dma_buf_ops;
|
||||
carveout_heap->heap.msm_heap_ops = &msm_carveout_heap_ops;
|
||||
carveout_heap->heap.ion_heap.type = ION_HEAP_TYPE_CARVEOUT;
|
||||
carveout_heap->heap.ion_heap.flags = ION_HEAP_FLAG_DEFER_FREE;
|
||||
if (!dynamic_heap)
|
||||
carveout_heap->heap.ion_heap.flags = ION_HEAP_FLAG_DEFER_FREE;
|
||||
|
||||
return &carveout_heap->heap.ion_heap;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue