drm_ioctl_flags(9) Check for core ioctl and return ioctl permission flags

SYNOPSIS

bool drm_ioctl_flags(unsigned int nr, unsigned int * flags);

ARGUMENTS

nr

ioctl number

flags

where to return the ioctl permission flags

DESCRIPTION

This ioctl is only used by the vmwgfx driver to augment the access checks done by the drm core and insofar a pretty decent layering violation. This shouldn't be used by any drivers.

RETURNS

True if the nr corresponds to a DRM core ioctl numer, false 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

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT