Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
exynos_drm_gem.c File Reference
#include <drm/drmP.h>
#include <linux/shmem_fs.h>
#include <drm/exynos_drm.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_gem.h"
#include "exynos_drm_buf.h"

Go to the source code of this file.

Functions

struct page ** exynos_gem_get_pages (struct drm_gem_object *obj, gfp_t gfpmask)
 
void exynos_drm_gem_destroy (struct exynos_drm_gem_obj *exynos_gem_obj)
 
struct exynos_drm_gem_objexynos_drm_gem_init (struct drm_device *dev, unsigned long size)
 
struct exynos_drm_gem_objexynos_drm_gem_create (struct drm_device *dev, unsigned int flags, unsigned long size)
 
int exynos_drm_gem_create_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
voidexynos_drm_gem_get_dma_addr (struct drm_device *dev, unsigned int gem_handle, struct drm_file *file_priv)
 
void exynos_drm_gem_put_dma_addr (struct drm_device *dev, unsigned int gem_handle, struct drm_file *file_priv)
 
int exynos_drm_gem_map_offset_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int exynos_drm_gem_mmap_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int exynos_drm_gem_get_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int exynos_drm_gem_init_object (struct drm_gem_object *obj)
 
void exynos_drm_gem_free_object (struct drm_gem_object *obj)
 
int exynos_drm_gem_dumb_create (struct drm_file *file_priv, struct drm_device *dev, struct drm_mode_create_dumb *args)
 
int exynos_drm_gem_dumb_map_offset (struct drm_file *file_priv, struct drm_device *dev, uint32_t handle, uint64_t *offset)
 
int exynos_drm_gem_dumb_destroy (struct drm_file *file_priv, struct drm_device *dev, unsigned int handle)
 
int exynos_drm_gem_fault (struct vm_area_struct *vma, struct vm_fault *vmf)
 
int exynos_drm_gem_mmap (struct file *filp, struct vm_area_struct *vma)
 

Function Documentation

struct exynos_drm_gem_obj* exynos_drm_gem_create ( struct drm_device dev,
unsigned int  flags,
unsigned long  size 
)
read

Definition at line 332 of file exynos_drm_gem.c.

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

Definition at line 392 of file exynos_drm_gem.c.

void exynos_drm_gem_destroy ( struct exynos_drm_gem_obj exynos_gem_obj)

Definition at line 261 of file exynos_drm_gem.c.

int exynos_drm_gem_dumb_create ( struct drm_file *  file_priv,
struct drm_device dev,
struct drm_mode_create_dumb args 
)

Definition at line 648 of file exynos_drm_gem.c.

int exynos_drm_gem_dumb_destroy ( struct drm_file *  file_priv,
struct drm_device dev,
unsigned int  handle 
)

Definition at line 720 of file exynos_drm_gem.c.

int exynos_drm_gem_dumb_map_offset ( struct drm_file *  file_priv,
struct drm_device dev,
uint32_t  handle,
uint64_t offset 
)

Definition at line 680 of file exynos_drm_gem.c.

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

Definition at line 742 of file exynos_drm_gem.c.

void exynos_drm_gem_free_object ( struct drm_gem_object *  obj)

Definition at line 632 of file exynos_drm_gem.c.

void* exynos_drm_gem_get_dma_addr ( struct drm_device dev,
unsigned int  gem_handle,
struct drm_file *  file_priv 
)

Definition at line 415 of file exynos_drm_gem.c.

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

Definition at line 599 of file exynos_drm_gem.c.

struct exynos_drm_gem_obj* exynos_drm_gem_init ( struct drm_device dev,
unsigned long  size 
)
read

Definition at line 304 of file exynos_drm_gem.c.

int exynos_drm_gem_init_object ( struct drm_gem_object *  obj)

Definition at line 625 of file exynos_drm_gem.c.

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

Definition at line 473 of file exynos_drm_gem.c.

int exynos_drm_gem_mmap ( struct file filp,
struct vm_area_struct vma 
)

Definition at line 765 of file exynos_drm_gem.c.

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

Definition at line 561 of file exynos_drm_gem.c.

void exynos_drm_gem_put_dma_addr ( struct drm_device dev,
unsigned int  gem_handle,
struct drm_file *  file_priv 
)

Definition at line 441 of file exynos_drm_gem.c.

struct page** exynos_gem_get_pages ( struct drm_gem_object *  obj,
gfp_t  gfpmask 
)
read

Definition at line 98 of file exynos_drm_gem.c.