Re: [PATCH 0/7] omapdrm: Fix GEM objects DMA unmapping

2017-03-15 Thread Tomi Valkeinen
On 10/03/17 11:39, Laurent Pinchart wrote: > Hello, > > Memory leaks have been reported when allocating a cached omap_bo (with > OMAP_BO_CACHED. Investigation showed that this can only come from the DMA > mapping debug layer, as on ARM32 the non-coherent, non-IOMMU DMA mapping code > doesn't alloc

[PATCH 0/7] omapdrm: Fix GEM objects DMA unmapping

2017-03-10 Thread Laurent Pinchart
Hello, Memory leaks have been reported when allocating a cached omap_bo (with OMAP_BO_CACHED. Investigation showed that this can only come from the DMA mapping debug layer, as on ARM32 the non-coherent, non-IOMMU DMA mapping code doesn't allocate memory to map a page (and kmemcheck facility is onl