Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
udl_gem.c File Reference
#include <drm/drmP.h>
#include "udl_drv.h"
#include <linux/shmem_fs.h>
#include <linux/dma-buf.h>

Go to the source code of this file.

Functions

struct udl_gem_objectudl_gem_alloc_object (struct drm_device *dev, size_t size)
 
int udl_dumb_create (struct drm_file *file, struct drm_device *dev, struct drm_mode_create_dumb *args)
 
int udl_dumb_destroy (struct drm_file *file, struct drm_device *dev, uint32_t handle)
 
int udl_drm_gem_mmap (struct file *filp, struct vm_area_struct *vma)
 
int udl_gem_fault (struct vm_area_struct *vma, struct vm_fault *vmf)
 
int udl_gem_init_object (struct drm_gem_object *obj)
 
int udl_gem_vmap (struct udl_gem_object *obj)
 
void udl_gem_vunmap (struct udl_gem_object *obj)
 
void udl_gem_free_object (struct drm_gem_object *gem_obj)
 
int udl_gem_mmap (struct drm_file *file, struct drm_device *dev, uint32_t handle, uint64_t *offset)
 
struct drm_gem_object * udl_gem_prime_import (struct drm_device *dev, struct dma_buf *dma_buf)
 

Function Documentation

int udl_drm_gem_mmap ( struct file filp,
struct vm_area_struct vma 
)

Definition at line 75 of file udl_gem.c.

int udl_dumb_create ( struct drm_file *  file,
struct drm_device dev,
struct drm_mode_create_dumb args 
)

Definition at line 59 of file udl_gem.c.

int udl_dumb_destroy ( struct drm_file *  file,
struct drm_device dev,
uint32_t  handle 
)

Definition at line 69 of file udl_gem.c.

struct udl_gem_object* udl_gem_alloc_object ( struct drm_device dev,
size_t  size 
)
read

Definition at line 14 of file udl_gem.c.

int udl_gem_fault ( struct vm_area_struct vma,
struct vm_fault *  vmf 
)

Definition at line 89 of file udl_gem.c.

void udl_gem_free_object ( struct drm_gem_object *  gem_obj)

Definition at line 213 of file udl_gem.c.

int udl_gem_init_object ( struct drm_gem_object *  obj)

Definition at line 117 of file udl_gem.c.

int udl_gem_mmap ( struct drm_file *  file,
struct drm_device dev,
uint32_t  handle,
uint64_t offset 
)

Definition at line 232 of file udl_gem.c.

struct drm_gem_object* udl_gem_prime_import ( struct drm_device dev,
struct dma_buf dma_buf 
)
read

Definition at line 293 of file udl_gem.c.

int udl_gem_vmap ( struct udl_gem_object obj)

Definition at line 178 of file udl_gem.c.

void udl_gem_vunmap ( struct udl_gem_object obj)

Definition at line 200 of file udl_gem.c.