NAME
drm_vma_node_offset_addr - Return sanitized offset for user-space mmaps
SYNOPSIS
__u64 drm_vma_node_offset_addr(struct drm_vma_offset_node * node);
ARGUMENTS
node
Linked offset node
DESCRIPTION
Same as drm_vma_node_start but returns the address as a valid offset that can be used for user-space mappings during mmap. This must not be called on unlinked nodes.
RETURNS
Offset of node for byte-based addressing. 0 if the node does not have an object allocated.
AUTHORS
Jesse Barnes <[email protected]>
Intel Corporation,
Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
Contributions all over the place