Commit a8d66d53 authored by John Stultz's avatar John Stultz Committed by Carlos Llamas
Browse files

ANDROID: dma-buf: heaps: Allow cma heaps to be configured as a module

Allow loading cma heap as a module instead of just as a
statically built in heap.

Since there isn't a good mechanism for dmabuf lifetime tracking
it isn't safe to allow the heap drivers to be unloaded, so these
drivers do not implement any module unloading functionality and
will show up in lsmod as "[permanent]".

[cmllamas: reapply https://r.android.com/1422536

 after pulling dma-buf
 updates from upstream mainline but drop the now obsolete symbol exports
 and fix up the commit log accordingly]

Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>

Bug: 155218010
Cc: John Stultz <jstultz@google.com>
Cc: T.J. Mercier <tjmercier@google.com>
Link: https://lore.kernel.org/lkml/20191025234834.28214-3-john.stultz@linaro.org/


Merged-In: I8d4516899d42c0b6e145bde8a0fed1235ae46654
Change-Id: Ie8a24ff7dd808b9eddaddce56244f0344f427f08
Signed-off-by: default avatarHridya Valsaraju <hridya@google.com>
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent f080c8f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment