diff options
Diffstat (limited to 'drivers/gpu/ion/ion_system_heap.c')
| -rw-r--r-- | drivers/gpu/ion/ion_system_heap.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/drivers/gpu/ion/ion_system_heap.c b/drivers/gpu/ion/ion_system_heap.c index c1061a801a4..6369fe8f305 100644 --- a/drivers/gpu/ion/ion_system_heap.c +++ b/drivers/gpu/ion/ion_system_heap.c @@ -283,6 +283,7 @@ struct ion_heap *ion_system_heap_create(struct ion_platform_heap *unused)  		return ERR_PTR(-ENOMEM);  	heap->heap.ops = &system_heap_ops;  	heap->heap.type = ION_HEAP_TYPE_SYSTEM; +	heap->heap.flags = ION_HEAP_FLAG_DEFER_FREE;  	heap->pools = kzalloc(sizeof(struct ion_page_pool *) * num_orders,  			      GFP_KERNEL);  	if (!heap->pools) |