SYNOPSIS

int drm_vma_node_verify_access(struct drm_vma_offset_node * node, struct file * filp);

ARGUMENTS

node

Offset node

filp

Open-file

DESCRIPTION

This checks whether filp is granted access to node. It is the same as drm_vma_node_is_allowed but suitable as drop-in helper for TTM verify_access callbacks.

RETURNS

0 if access is granted, -EACCES otherwise.

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