On Mon, Nov 4, 2019 at 2:24 AM Daniel Vetter daniel@ffwll.ch wrote:
On Fri, Oct 25, 2019 at 11:48:34PM +0000, John Stultz wrote:
Allow loading system and 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]".
dma-buf itself has all the try_module_get we'll need ... why is this not possible?
Let me look into that. Thanks for the pointer.
thanks -john