Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
cirrus_ttm.c File Reference
#include <drm/drmP.h>
#include "cirrus_drv.h"
#include <ttm/ttm_page_alloc.h>

Go to the source code of this file.

Functions

void cirrus_ttm_global_release (struct cirrus_device *cirrus)
 
bool cirrus_ttm_bo_is_cirrus_bo (struct ttm_buffer_object *bo)
 
struct ttm_ttcirrus_ttm_tt_create (struct ttm_bo_device *bdev, unsigned long size, uint32_t page_flags, struct page *dummy_read_page)
 
int cirrus_mm_init (struct cirrus_device *cirrus)
 
void cirrus_mm_fini (struct cirrus_device *cirrus)
 
void cirrus_ttm_placement (struct cirrus_bo *bo, int domain)
 
int cirrus_bo_reserve (struct cirrus_bo *bo, bool no_wait)
 
void cirrus_bo_unreserve (struct cirrus_bo *bo)
 
int cirrus_bo_create (struct drm_device *dev, int size, int align, uint32_t flags, struct cirrus_bo **pcirrusbo)
 
int cirrus_bo_pin (struct cirrus_bo *bo, u32 pl_flag, u64 *gpu_addr)
 
int cirrus_bo_unpin (struct cirrus_bo *bo)
 
int cirrus_bo_push_sysram (struct cirrus_bo *bo)
 
int cirrus_mmap (struct file *filp, struct vm_area_struct *vma)
 

Variables

struct ttm_bo_driver cirrus_bo_driver
 

Function Documentation

int cirrus_bo_create ( struct drm_device dev,
int  size,
int  align,
uint32_t  flags,
struct cirrus_bo **  pcirrusbo 
)

Definition at line 336 of file cirrus_ttm.c.

int cirrus_bo_pin ( struct cirrus_bo bo,
u32  pl_flag,
u64 gpu_addr 
)

Definition at line 378 of file cirrus_ttm.c.

int cirrus_bo_push_sysram ( struct cirrus_bo bo)

Definition at line 421 of file cirrus_ttm.c.

int cirrus_bo_reserve ( struct cirrus_bo bo,
bool  no_wait 
)

Definition at line 318 of file cirrus_ttm.c.

int cirrus_bo_unpin ( struct cirrus_bo bo)

Definition at line 401 of file cirrus_ttm.c.

void cirrus_bo_unreserve ( struct cirrus_bo bo)

Definition at line 331 of file cirrus_ttm.c.

void cirrus_mm_fini ( struct cirrus_device cirrus)

Definition at line 282 of file cirrus_ttm.c.

int cirrus_mm_init ( struct cirrus_device cirrus)

Definition at line 248 of file cirrus_ttm.c.

int cirrus_mmap ( struct file filp,
struct vm_area_struct vma 
)

Definition at line 447 of file cirrus_ttm.c.

bool cirrus_ttm_bo_is_cirrus_bo ( struct ttm_buffer_object bo)

Definition at line 105 of file cirrus_ttm.c.

void cirrus_ttm_global_release ( struct cirrus_device cirrus)

Definition at line 84 of file cirrus_ttm.c.

void cirrus_ttm_placement ( struct cirrus_bo bo,
int  domain 
)

Definition at line 301 of file cirrus_ttm.c.

struct ttm_tt* cirrus_ttm_tt_create ( struct ttm_bo_device bdev,
unsigned long  size,
uint32_t  page_flags,
struct page dummy_read_page 
)
read

Definition at line 209 of file cirrus_ttm.c.

Variable Documentation

struct ttm_bo_driver cirrus_bo_driver
Initial value:
= {
.ttm_tt_create = cirrus_ttm_tt_create,
.ttm_tt_populate = cirrus_ttm_tt_populate,
.ttm_tt_unpopulate = cirrus_ttm_tt_unpopulate,
.init_mem_type = cirrus_bo_init_mem_type,
.evict_flags = cirrus_bo_evict_flags,
.move = cirrus_bo_move,
.verify_access = cirrus_bo_verify_access,
.io_mem_reserve = &cirrus_ttm_io_mem_reserve,
.io_mem_free = &cirrus_ttm_io_mem_free,
}

Definition at line 236 of file cirrus_ttm.c.