Messages in this thread | | | Date | Tue, 5 Feb 2019 17:10:36 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH] dma-direct: Export dma_direct_alloc() and dma_direct_free() |
| |
On Tue, Feb 05, 2019 at 12:06:02PM +0100, Thierry Reding wrote: > From: Thierry Reding <treding@nvidia.com> > > Drivers that are built as modules may want to use these functions, so > make them available like the rest of the functions. > > Signed-off-by: Thierry Reding <treding@nvidia.com>
How do they want to use these functions? The proper way is to call dma_alloc_coherent / dma_alloc_free and let the DMA API handle the rest.
| |