Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 889b5b50 authored by Rohit Vaswani's avatar Rohit Vaswani Committed by Stephen Boyd
Browse files

gpu: ion: Fix a contiguous system heap crash



map_kernel and unmap_kernel in kmalloc_ops should support
a contiguous heap. The existing functions
ion_system_heap_map_kernel and ion_system_heap_unmap_kernel
are geared towards discontiguous memory (supported via
vmalloc_ops) and crash while handling contiguous heaps. This
patch adds two new functions specific to contiguous system
heaps to initialize kmalloc_ops.

Change-Id: I48d30ca01c5a0b71af4e1e640c79a920a298aedb
Acked-by: default avatarJennifer L. Zenner <jzenner@qti.qualcomm.com>
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
parent 739e3a48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment