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

Go to the source code of this file.

Functions

void ast_ttm_global_release (struct ast_private *ast)
 
bool ast_ttm_bo_is_ast_bo (struct ttm_buffer_object *bo)
 
struct ttm_ttast_ttm_tt_create (struct ttm_bo_device *bdev, unsigned long size, uint32_t page_flags, struct page *dummy_read_page)
 
int ast_mm_init (struct ast_private *ast)
 
void ast_mm_fini (struct ast_private *ast)
 
void ast_ttm_placement (struct ast_bo *bo, int domain)
 
int ast_bo_reserve (struct ast_bo *bo, bool no_wait)
 
void ast_bo_unreserve (struct ast_bo *bo)
 
int ast_bo_create (struct drm_device *dev, int size, int align, uint32_t flags, struct ast_bo **pastbo)
 
int ast_bo_pin (struct ast_bo *bo, u32 pl_flag, u64 *gpu_addr)
 
int ast_bo_unpin (struct ast_bo *bo)
 
int ast_bo_push_sysram (struct ast_bo *bo)
 
int ast_mmap (struct file *filp, struct vm_area_struct *vma)
 

Variables

struct ttm_bo_driver ast_bo_driver
 

Function Documentation

int ast_bo_create ( struct drm_device dev,
int  size,
int  align,
uint32_t  flags,
struct ast_bo **  pastbo 
)

Definition at line 331 of file ast_ttm.c.

int ast_bo_pin ( struct ast_bo bo,
u32  pl_flag,
u64 gpu_addr 
)

Definition at line 373 of file ast_ttm.c.

int ast_bo_push_sysram ( struct ast_bo bo)

Definition at line 416 of file ast_ttm.c.

int ast_bo_reserve ( struct ast_bo bo,
bool  no_wait 
)

Definition at line 313 of file ast_ttm.c.

int ast_bo_unpin ( struct ast_bo bo)

Definition at line 396 of file ast_ttm.c.

void ast_bo_unreserve ( struct ast_bo bo)

Definition at line 326 of file ast_ttm.c.

void ast_mm_fini ( struct ast_private ast)

Definition at line 281 of file ast_ttm.c.

int ast_mm_init ( struct ast_private ast)

Definition at line 248 of file ast_ttm.c.

int ast_mmap ( struct file filp,
struct vm_area_struct vma 
)

Definition at line 442 of file ast_ttm.c.

bool ast_ttm_bo_is_ast_bo ( struct ttm_buffer_object bo)

Definition at line 105 of file ast_ttm.c.

void ast_ttm_global_release ( struct ast_private ast)

Definition at line 84 of file ast_ttm.c.

void ast_ttm_placement ( struct ast_bo bo,
int  domain 
)

Definition at line 296 of file ast_ttm.c.

struct ttm_tt* ast_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 ast_ttm.c.

Variable Documentation

struct ttm_bo_driver ast_bo_driver
Initial value:
= {
.ttm_tt_create = ast_ttm_tt_create,
.ttm_tt_populate = ast_ttm_tt_populate,
.ttm_tt_unpopulate = ast_ttm_tt_unpopulate,
.init_mem_type = ast_bo_init_mem_type,
.evict_flags = ast_bo_evict_flags,
.move = ast_bo_move,
.verify_access = ast_bo_verify_access,
.io_mem_reserve = &ast_ttm_io_mem_reserve,
.io_mem_free = &ast_ttm_io_mem_free,
}

Definition at line 236 of file ast_ttm.c.