other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
DRM_VMA_OFFSET_ADD(9) | DRM Core | DRM_VMA_OFFSET_ADD(9) |
NAME¶
drm_vma_offset_add - Add offset node to managerSYNOPSIS¶
int
drm_vma_offset_add(struct drm_vma_offset_manager * mgr,
struct drm_vma_offset_node * node,
unsigned long pages);
ARGUMENTS¶
mgrManager object
node
Node to be added
pages
Allocation size visible to user-space (in
number of pages)
DESCRIPTION¶
Add a node to the offset-manager. If the node was already added, this does nothing and return 0. pages is the size of the object given in number of pages. After this call succeeds, you can access the offset of the node until it is removed again. If this call fails, it is safe to retry the operation or call drm_vma_offset_remove, anyway. However, no cleanup is required in that case.RETURNS¶
0 on success, negative error code on failure.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |