SYNOPSIS

unsigned long drm_vma_node_start(struct drm_vma_offset_node * node);

ARGUMENTS

node

Node to inspect

DESCRIPTION

Return the start address of the given node. This can be used as offset into the linear VM space that is provided by the VMA offset manager. Note that this can only be used for page-based addressing. If you need a proper offset for user-space mappings, you must apply “<< PAGE_SHIFT” or use the drm_vma_node_offset_addr helper instead.

RETURNS

Start address of node for page-based addressing. 0 if the node does not have an offset 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

COPYRIGHT