Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
int | drm_getunique (struct drm_device *dev, void *data, struct drm_file *file_priv) |
int | drm_setunique (struct drm_device *dev, void *data, struct drm_file *file_priv) |
int | drm_getmap (struct drm_device *dev, void *data, struct drm_file *file_priv) |
int | drm_getclient (struct drm_device *dev, void *data, struct drm_file *file_priv) |
int | drm_getstats (struct drm_device *dev, void *data, struct drm_file *file_priv) |
int | drm_getcap (struct drm_device *dev, void *data, struct drm_file *file_priv) |
int | drm_setversion (struct drm_device *dev, void *data, struct drm_file *file_priv) |
int | drm_noop (struct drm_device *dev, void *data, struct drm_file *file_priv) |
EXPORT_SYMBOL (drm_noop) | |
IOCTL processing for DRM
Definition in file drm_ioctl.c.
int drm_getcap | ( | struct drm_device * | dev, |
void * | data, | ||
struct drm_file * | file_priv | ||
) |
Get device/driver capabilities
Definition at line 267 of file drm_ioctl.c.
int drm_getclient | ( | struct drm_device * | dev, |
void * | data, | ||
struct drm_file * | file_priv | ||
) |
Get client information.
inode | device inode. |
file_priv | DRM file private. |
cmd | command. |
arg | user argument, pointing to a drm_client structure. |
Searches for the client with the specified index and copies its information into userspace
Definition at line 203 of file drm_ioctl.c.
int drm_getmap | ( | struct drm_device * | dev, |
void * | data, | ||
struct drm_file * | file_priv | ||
) |
Get a mapping information.
inode | device inode. |
file_priv | DRM file private. |
cmd | command. |
arg | user argument, pointing to a drm_map structure. |
Searches for the mapping with the specified offset and copies its information into userspace
Definition at line 152 of file drm_ioctl.c.
int drm_getstats | ( | struct drm_device * | dev, |
void * | data, | ||
struct drm_file * | file_priv | ||
) |
Get statistics information.
inode | device inode. |
file_priv | DRM file private. |
cmd | command. |
arg | user argument, pointing to a drm_stats structure. |
Definition at line 242 of file drm_ioctl.c.
int drm_getunique | ( | struct drm_device * | dev, |
void * | data, | ||
struct drm_file * | file_priv | ||
) |
Get the bus id.
inode | device inode. |
file_priv | DRM file private. |
cmd | command. |
arg | user argument, pointing to a drm_unique structure. |
Copies the bus id from drm_device::unique into user space.
Definition at line 53 of file drm_ioctl.c.
int drm_noop | ( | struct drm_device * | dev, |
void * | data, | ||
struct drm_file * | file_priv | ||
) |
No-op ioctl.
Definition at line 354 of file drm_ioctl.c.
int drm_setunique | ( | struct drm_device * | dev, |
void * | data, | ||
struct drm_file * | file_priv | ||
) |
Set the bus id.
inode | device inode. |
file_priv | DRM file private. |
cmd | command. |
arg | user argument, pointing to a drm_unique structure. |
Copies the bus id from userspace into drm_device::unique, and verifies that it matches the device this DRM is attached to (EINVAL otherwise). Deprecated in interface version 1.1 and will return EBUSY when setversion has requested version 1.1 or greater.
Definition at line 95 of file drm_ioctl.c.
int drm_setversion | ( | struct drm_device * | dev, |
void * | data, | ||
struct drm_file * | file_priv | ||
) |
Setversion ioctl.
inode | device inode. |
file_priv | DRM file private. |
cmd | command. |
arg | user argument, pointing to a drm_lock structure. |
Sets the requested interface version
Definition at line 307 of file drm_ioctl.c.
EXPORT_SYMBOL | ( | drm_noop | ) |