Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
drm_gem_cma_helper.h File Reference

Go to the source code of this file.

Data Structures

struct  drm_gem_cma_object
 

Functions

void drm_gem_cma_free_object (struct drm_gem_object *gem_obj)
 
int drm_gem_cma_dumb_create (struct drm_file *file_priv, struct drm_device *drm, struct drm_mode_create_dumb *args)
 
int drm_gem_cma_dumb_map_offset (struct drm_file *file_priv, struct drm_device *drm, uint32_t handle, uint64_t *offset)
 
int drm_gem_cma_mmap (struct file *filp, struct vm_area_struct *vma)
 
int drm_gem_cma_dumb_destroy (struct drm_file *file_priv, struct drm_device *drm, unsigned int handle)
 
struct drm_gem_cma_objectdrm_gem_cma_create (struct drm_device *drm, unsigned int size)
 

Variables

struct vm_operations_struct drm_gem_cma_vm_ops
 

Function Documentation

struct drm_gem_cma_object* drm_gem_cma_create ( struct drm_device drm,
unsigned int  size 
)
read

Definition at line 48 of file drm_gem_cma_helper.c.

int drm_gem_cma_dumb_create ( struct drm_file *  file_priv,
struct drm_device drm,
struct drm_mode_create_dumb args 
)

Definition at line 163 of file drm_gem_cma_helper.c.

int drm_gem_cma_dumb_destroy ( struct drm_file *  file_priv,
struct drm_device drm,
unsigned int  handle 
)

Definition at line 246 of file drm_gem_cma_helper.c.

int drm_gem_cma_dumb_map_offset ( struct drm_file *  file_priv,
struct drm_device drm,
uint32_t  handle,
uint64_t offset 
)

Definition at line 188 of file drm_gem_cma_helper.c.

void drm_gem_cma_free_object ( struct drm_gem_object *  gem_obj)

Definition at line 139 of file drm_gem_cma_helper.c.

int drm_gem_cma_mmap ( struct file filp,
struct vm_area_struct vma 
)

Definition at line 221 of file drm_gem_cma_helper.c.

Variable Documentation

struct vm_operations_struct drm_gem_cma_vm_ops

Definition at line 212 of file drm_gem_cma_helper.c.