Re: [PATCH] drm/omap: fix dma_addr refcounting

2019-12-04 Thread Tomi Valkeinen
On 02/12/2019 14:36, Laurent Pinchart wrote: Hi Tomi, Thank you for the patch. On Thu, Nov 14, 2019 at 10:03:43AM +0200, Tomi Valkeinen wrote: cec4fa7511ef7a73eb635834e9d85b25a5b47a98 ("drm/omap: use refcount API to track the number of users of dma_addr") changed omap_gem.c to use refcounting

Re: [PATCH] drm/omap: fix dma_addr refcounting

2019-12-02 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Thu, Nov 14, 2019 at 10:03:43AM +0200, Tomi Valkeinen wrote: > cec4fa7511ef7a73eb635834e9d85b25a5b47a98 ("drm/omap: use refcount API to > track the number of users of dma_addr") changed omap_gem.c to use > refcounting API to track dma_addr uses. However, the

[PATCH] drm/omap: fix dma_addr refcounting

2019-11-14 Thread Tomi Valkeinen
cec4fa7511ef7a73eb635834e9d85b25a5b47a98 ("drm/omap: use refcount API to track the number of users of dma_addr") changed omap_gem.c to use refcounting API to track dma_addr uses. However, the driver only tracks the refcounts for non-contiguous buffers, and the patch didn't fully take this in accou