Re: [PATCH 1/2] dma-heap: add device link and unlink functions

2023-01-23 Thread John Stultz
On Mon, Jan 23, 2023 at 4:38 AM Christian König wrote: > > This allows device drivers to specify a DMA-heap where they want their > buffers to be allocated from. This information is then exposed as > sysfs link between the device and the DMA-heap. > > Useful for userspace when in need to decide fr

[PATCH 1/2] dma-heap: add device link and unlink functions

2023-01-23 Thread Christian König
This allows device drivers to specify a DMA-heap where they want their buffers to be allocated from. This information is then exposed as sysfs link between the device and the DMA-heap. Useful for userspace when in need to decide from which provider to allocate a buffer. Signed-off-by: Christian K