drm_invalid_op(9) DRM invalid ioctl implemntation

SYNOPSIS

int drm_invalid_op(struct drm_device * dev, void * data, struct drm_file * file_priv);

ARGUMENTS

dev

DRM device for the ioctl

data

data pointer for the ioctl

file_priv

DRM file for the ioctl call

DESCRIPTION

This no-op implementation for drm ioctls is useful for deprecated functionality where we really don't want to allow userspace to call the ioctl any more. This is the case for old ums interfaces for drivers that transitioned to kms gradually and so kept the old legacy tables around. This only applies to radeon and i915 kms drivers, other drivers shouldn't need to use this function.

Always fails with a return value of -EINVAL.

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