Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 790861cc authored by Samuel Li's avatar Samuel Li Committed by Alex Deucher
Browse files

drm: add parameter explanation for some gem dmabuf_ops

parent e85d3006
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -331,6 +331,9 @@ EXPORT_SYMBOL(drm_gem_map_dma_buf);


/**
/**
 * drm_gem_unmap_dma_buf - unmap_dma_buf implementation for GEM
 * drm_gem_unmap_dma_buf - unmap_dma_buf implementation for GEM
 * @attach: attachment to unmap buffer from
 * @sgt: scatterlist info of the buffer to unmap
 * @dir: direction of DMA transfer
 *
 *
 * Not implemented. The unmap is done at drm_gem_map_detach().  This can be
 * Not implemented. The unmap is done at drm_gem_map_detach().  This can be
 * used as the &dma_buf_ops.unmap_dma_buf callback.
 * used as the &dma_buf_ops.unmap_dma_buf callback.
@@ -429,6 +432,8 @@ EXPORT_SYMBOL(drm_gem_dmabuf_vunmap);


/**
/**
 * drm_gem_dmabuf_kmap_atomic - map_atomic implementation for GEM
 * drm_gem_dmabuf_kmap_atomic - map_atomic implementation for GEM
 * @dma_buf: buffer to be mapped
 * @page_num: page number within the buffer
 *
 *
 * Not implemented. This can be used as the &dma_buf_ops.map_atomic callback.
 * Not implemented. This can be used as the &dma_buf_ops.map_atomic callback.
 */
 */
@@ -441,6 +446,9 @@ EXPORT_SYMBOL(drm_gem_dmabuf_kmap_atomic);


/**
/**
 * drm_gem_dmabuf_kunmap_atomic - unmap_atomic implementation for GEM
 * drm_gem_dmabuf_kunmap_atomic - unmap_atomic implementation for GEM
 * @dma_buf: buffer to be unmapped
 * @page_num: page number within the buffer
 * @addr: virtual address of the buffer
 *
 *
 * Not implemented. This can be used as the &dma_buf_ops.unmap_atomic callback.
 * Not implemented. This can be used as the &dma_buf_ops.unmap_atomic callback.
 */
 */
@@ -453,6 +461,8 @@ EXPORT_SYMBOL(drm_gem_dmabuf_kunmap_atomic);


/**
/**
 * drm_gem_dmabuf_kmap - map implementation for GEM
 * drm_gem_dmabuf_kmap - map implementation for GEM
 * @dma_buf: buffer to be mapped
 * @page_num: page number within the buffer
 *
 *
 * Not implemented. This can be used as the &dma_buf_ops.map callback.
 * Not implemented. This can be used as the &dma_buf_ops.map callback.
 */
 */
@@ -464,6 +474,9 @@ EXPORT_SYMBOL(drm_gem_dmabuf_kmap);


/**
/**
 * drm_gem_dmabuf_kunmap - unmap implementation for GEM
 * drm_gem_dmabuf_kunmap - unmap implementation for GEM
 * @dma_buf: buffer to be unmapped
 * @page_num: page number within the buffer
 * @addr: virtual address of the buffer
 *
 *
 * Not implemented. This can be used as the &dma_buf_ops.unmap callback.
 * Not implemented. This can be used as the &dma_buf_ops.unmap callback.
 */
 */