Re: [PATCH v2 1/8] drm/omap: use refcount API to track the number of users of dma_addr

2019-08-01 Thread Tomi Valkeinen
On 08/07/2019 13:45, Jean-Jacques Hiblot wrote: This would give us a WARN_ON() if the pin/unpin calls are unbalanced. Proposed-by: Laurent Pinchart Signed-off-by: Jean-Jacques Hiblot --- drivers/gpu/drm/omapdrm/omap_gem.c | 45 +++--- 1 file changed, 23 insertions(+)

[PATCH v2 1/8] drm/omap: use refcount API to track the number of users of dma_addr

2019-07-08 Thread Jean-Jacques Hiblot
This would give us a WARN_ON() if the pin/unpin calls are unbalanced. Proposed-by: Laurent Pinchart Signed-off-by: Jean-Jacques Hiblot --- drivers/gpu/drm/omapdrm/omap_gem.c | 45 +++--- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/omap