Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nouveau_gem.h File Reference
#include <drm/drmP.h>
#include "nouveau_drm.h"
#include "nouveau_bo.h"

Go to the source code of this file.

Macros

#define nouveau_bo_tile_layout(nvbo)   ((nvbo)->tile_flags & NOUVEAU_GEM_TILE_LAYOUT_MASK)
 

Functions

int nouveau_gem_new (struct drm_device *, int size, int align, uint32_t domain, uint32_t tile_mode, uint32_t tile_flags, struct nouveau_bo **)
 
int nouveau_gem_object_new (struct drm_gem_object *)
 
void nouveau_gem_object_del (struct drm_gem_object *)
 
int nouveau_gem_object_open (struct drm_gem_object *, struct drm_file *)
 
void nouveau_gem_object_close (struct drm_gem_object *, struct drm_file *)
 
int nouveau_gem_ioctl_new (struct drm_device *, void *, struct drm_file *)
 
int nouveau_gem_ioctl_pushbuf (struct drm_device *, void *, struct drm_file *)
 
int nouveau_gem_ioctl_cpu_prep (struct drm_device *, void *, struct drm_file *)
 
int nouveau_gem_ioctl_cpu_fini (struct drm_device *, void *, struct drm_file *)
 
int nouveau_gem_ioctl_info (struct drm_device *, void *, struct drm_file *)
 
struct dma_bufnouveau_gem_prime_export (struct drm_device *dev, struct drm_gem_object *obj, int flags)
 
struct drm_gem_object * nouveau_gem_prime_import (struct drm_device *dev, struct dma_buf *dma_buf)
 

Macro Definition Documentation

#define nouveau_bo_tile_layout (   nvbo)    ((nvbo)->tile_flags & NOUVEAU_GEM_TILE_LAYOUT_MASK)

Definition at line 9 of file nouveau_gem.h.

Function Documentation

int nouveau_gem_ioctl_cpu_fini ( struct drm_device ,
void ,
struct drm_file *   
)

Definition at line 855 of file nouveau_gem.c.

int nouveau_gem_ioctl_cpu_prep ( struct drm_device ,
void ,
struct drm_file *   
)

Definition at line 833 of file nouveau_gem.c.

int nouveau_gem_ioctl_info ( struct drm_device ,
void ,
struct drm_file *   
)

Definition at line 862 of file nouveau_gem.c.

int nouveau_gem_ioctl_new ( struct drm_device ,
void ,
struct drm_file *   
)

Definition at line 204 of file nouveau_gem.c.

int nouveau_gem_ioctl_pushbuf ( struct drm_device ,
void ,
struct drm_file *   
)

Definition at line 632 of file nouveau_gem.c.

int nouveau_gem_new ( struct drm_device ,
int  size,
int  align,
uint32_t  domain,
uint32_t  tile_mode,
uint32_t  tile_flags,
struct nouveau_bo **   
)

Definition at line 132 of file nouveau_gem.c.

void nouveau_gem_object_close ( struct drm_gem_object *  ,
struct drm_file *   
)

Definition at line 107 of file nouveau_gem.c.

void nouveau_gem_object_del ( struct drm_gem_object *  )

Definition at line 46 of file nouveau_gem.c.

int nouveau_gem_object_new ( struct drm_gem_object *  )

Definition at line 40 of file nouveau_gem.c.

int nouveau_gem_object_open ( struct drm_gem_object *  ,
struct drm_file *   
)

Definition at line 70 of file nouveau_gem.c.

struct dma_buf* nouveau_gem_prime_export ( struct drm_device dev,
struct drm_gem_object *  obj,
int  flags 
)
read

Definition at line 173 of file nouveau_prime.c.

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

Definition at line 187 of file nouveau_prime.c.