Skip to content
Commit 92a044de authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

msm: camera: memmgr: Use dma_buf for kernel allocations



Currently, both user and kernel space use file descriptors
as the primary key when tracking allocated buffers. However,
memory allocated within the kernel may not have any associated
camera process. This makes it difficult to clean up the file
descriptors associated with kernel allocated memory. Hence,
change the primary key of kernel allocated memory to use
dma_buf instead.

Change-Id: I55a65a28d89ca94168e366d441a570039aa08076
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent e9012ff7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment