[PATCH v2] dma-buf: heaps: init heaps in subsys_initcall

2021-10-22 Thread Shuosheng Huang
Some built-in modules will failed to use dma-buf heap to allocate memory if the heap drivers are too late to be initialized. To fix this issue, move initialization of dma-buf heap drivers in subsys_initcall() which is more earlier to be called. Signed-off-by: Shuosheng Huang --- drivers/dma-buf/

Re: [PATCH v2] dma-buf: heaps: init heaps in subsys_initcall

2021-10-21 Thread Christian König
Am 22.10.21 um 04:56 schrieb John Stultz: On Thu, Oct 21, 2021 at 6:49 PM Shuosheng Huang wrote: Some built-in modules will failed to use dma-buf heap to allocate memory if the heap drivers are too late to be initialized. To fix this issue, move initialization of dma-buf heap drivers in subs

Re: [PATCH v2] dma-buf: heaps: init heaps in subsys_initcall

2021-10-21 Thread John Stultz
On Thu, Oct 21, 2021 at 6:49 PM Shuosheng Huang wrote: > > Some built-in modules will failed to use dma-buf heap to allocate > memory if the heap drivers are too late to be initialized. > To fix this issue, move initialization of dma-buf heap drivers in > subsys_initcall() which is more earlier to