SYNOPSIS
- int drm_open(struct inode * inode, struct file * filp);
ARGUMENTS
inode
-
- device inode
filp
- file pointer.
DESCRIPTION
This function must be used by drivers as their .open #file_operations method. It looks up the correct DRM device and instantiates all the per-file resources for it.
RETURNS
0 on success or negative errno value on falure.
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
Lukas Wunner <[email protected]>
- vga_switcheroo documentation
COPYRIGHT