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

2019-10-09 Thread Tomi Valkeinen
Hi JJ, On 07/10/2019 14:25, 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 Reviewed-by: Tomi Valkeinen --- This doesn't compile, but it gets fixed in some later patch in the

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

2019-10-07 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 Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_gem.c | 45 +++--- 1 file changed, 23 insertions(+), 22 deletions(-)