[BACK]Return to linux_dma_buf.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / external / bsd / drm2 / linux

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/external/bsd/drm2/linux/linux_dma_buf.c between version 1.14 and 1.15

version 1.14, 2022/02/17 01:38:38 version 1.15, 2022/04/09 23:44:44
Line 160  void
Line 160  void
 dma_buf_put(struct dma_buf *dmabuf)  dma_buf_put(struct dma_buf *dmabuf)
 {  {
   
         membar_exit();          membar_release();
         if (atomic_dec_uint_nv(&dmabuf->db_refcnt) != 0)          if (atomic_dec_uint_nv(&dmabuf->db_refcnt) != 0)
                 return;                  return;
         membar_enter();          membar_acquire();
   
         dma_resv_poll_fini(&dmabuf->db_resv_poll);          dma_resv_poll_fini(&dmabuf->db_resv_poll);
         mutex_destroy(&dmabuf->db_lock);          mutex_destroy(&dmabuf->db_lock);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

CVSweb <webmaster@jp.NetBSD.org>