Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
vmwgfx_ioctl.c File Reference
#include "vmwgfx_drv.h"
#include <drm/vmwgfx_drm.h>
#include "vmwgfx_kms.h"

Go to the source code of this file.

Functions

int vmw_getparam_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int vmw_get_cap_3d_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int vmw_present_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int vmw_present_readback_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
unsigned int vmw_fops_poll (struct file *filp, struct poll_table_struct *wait)
 
ssize_t vmw_fops_read (struct file *filp, char __user *buffer, size_t count, loff_t *offset)
 

Function Documentation

unsigned int vmw_fops_poll ( struct file filp,
struct poll_table_struct wait 
)

vmw_fops_poll - wrapper around the drm_poll function

: See the linux fops poll documentation. : See the linux fops poll documentation.

Wrapper around the drm_poll function that makes sure the device is processing the fifo if drm_poll decides to wait.

Definition at line 300 of file vmwgfx_ioctl.c.

ssize_t vmw_fops_read ( struct file filp,
char __user buffer,
size_t  count,
loff_t *  offset 
)

vmw_fops_read - wrapper around the drm_read function

: See the linux fops read documentation. : See the linux fops read documentation. : See the linux fops read documentation. offset: See the linux fops read documentation.

Wrapper around the drm_read function that makes sure the device is processing the fifo if drm_read decides to wait.

Definition at line 322 of file vmwgfx_ioctl.c.

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

Definition at line 81 of file vmwgfx_ioctl.c.

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

Misc Ioctl functionality - vmwgfx_ioctl.c

Definition at line 32 of file vmwgfx_ioctl.c.

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

Definition at line 123 of file vmwgfx_ioctl.c.

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

Definition at line 208 of file vmwgfx_ioctl.c.