Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
drm_scatter.c File Reference
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <drm/drmP.h>

Go to the source code of this file.

Macros

#define DEBUG_SCATTER   0
 
#define ScatterHandle(x)   (unsigned int)(x)
 

Functions

void drm_sg_cleanup (struct drm_sg_mem *entry)
 
int drm_sg_alloc (struct drm_device *dev, struct drm_scatter_gather *request)
 
int drm_sg_alloc_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int drm_sg_free (struct drm_device *dev, void *data, struct drm_file *file_priv)
 

Detailed Description

IOCTLs to manage scatter/gather memory

Author
Gareth Hughes garet.nosp@m.h@va.nosp@m.linux.nosp@m..com

Definition in file drm_scatter.c.

Macro Definition Documentation

#define DEBUG_SCATTER   0

Definition at line 38 of file drm_scatter.c.

#define ScatterHandle (   x)    (unsigned int)(x)

Definition at line 70 of file drm_scatter.c.

Function Documentation

int drm_sg_alloc ( struct drm_device dev,
struct drm_scatter_gather request 
)

Definition at line 73 of file drm_scatter.c.

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

Definition at line 184 of file drm_scatter.c.

void drm_sg_cleanup ( struct drm_sg_mem *  entry)

Definition at line 49 of file drm_scatter.c.

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

Definition at line 193 of file drm_scatter.c.