Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
radeon_object.h File Reference
#include <drm/radeon_drm.h>
#include "radeon.h"

Go to the source code of this file.

Functions

int radeon_bo_reserve (struct radeon_bo *bo, bool no_intr)
 
int radeon_bo_wait (struct radeon_bo *bo, u32 *mem_type, bool no_wait)
 
int radeon_bo_create (struct radeon_device *rdev, unsigned long size, int byte_align, bool kernel, u32 domain, struct sg_table *sg, struct radeon_bo **bo_ptr)
 
int radeon_bo_kmap (struct radeon_bo *bo, void **ptr)
 
void radeon_bo_kunmap (struct radeon_bo *bo)
 
void radeon_bo_unref (struct radeon_bo **bo)
 
int radeon_bo_pin (struct radeon_bo *bo, u32 domain, u64 *gpu_addr)
 
int radeon_bo_pin_restricted (struct radeon_bo *bo, u32 domain, u64 max_offset, u64 *gpu_addr)
 
int radeon_bo_unpin (struct radeon_bo *bo)
 
int radeon_bo_evict_vram (struct radeon_device *rdev)
 
void radeon_bo_force_delete (struct radeon_device *rdev)
 
int radeon_bo_init (struct radeon_device *rdev)
 
void radeon_bo_fini (struct radeon_device *rdev)
 
void radeon_bo_list_add_object (struct radeon_bo_list *lobj, struct list_head *head)
 
int radeon_bo_list_validate (struct list_head *head)
 
int radeon_bo_fbdev_mmap (struct radeon_bo *bo, struct vm_area_struct *vma)
 
int radeon_bo_set_tiling_flags (struct radeon_bo *bo, u32 tiling_flags, u32 pitch)
 
void radeon_bo_get_tiling_flags (struct radeon_bo *bo, u32 *tiling_flags, u32 *pitch)
 
int radeon_bo_check_tiling (struct radeon_bo *bo, bool has_moved, bool force_drop)
 
void radeon_bo_move_notify (struct ttm_buffer_object *bo, struct ttm_mem_reg *mem)
 
int radeon_bo_fault_reserve_notify (struct ttm_buffer_object *bo)
 
int radeon_bo_get_surface_reg (struct radeon_bo *bo)
 
int radeon_sa_bo_manager_init (struct radeon_device *rdev, struct radeon_sa_manager *sa_manager, unsigned size, u32 domain)
 
void radeon_sa_bo_manager_fini (struct radeon_device *rdev, struct radeon_sa_manager *sa_manager)
 
int radeon_sa_bo_manager_start (struct radeon_device *rdev, struct radeon_sa_manager *sa_manager)
 
int radeon_sa_bo_manager_suspend (struct radeon_device *rdev, struct radeon_sa_manager *sa_manager)
 
int radeon_sa_bo_new (struct radeon_device *rdev, struct radeon_sa_manager *sa_manager, struct radeon_sa_bo **sa_bo, unsigned size, unsigned align, bool block)
 
void radeon_sa_bo_free (struct radeon_device *rdev, struct radeon_sa_bo **sa_bo, struct radeon_fence *fence)
 

Function Documentation

int radeon_bo_check_tiling ( struct radeon_bo bo,
bool  has_moved,
bool  force_drop 
)

Definition at line 520 of file radeon_object.c.

int radeon_bo_create ( struct radeon_device rdev,
unsigned long  size,
int  byte_align,
bool  kernel,
u32  domain,
struct sg_table sg,
struct radeon_bo **  bo_ptr 
)

Definition at line 101 of file radeon_object.c.

int radeon_bo_evict_vram ( struct radeon_device rdev)

Definition at line 278 of file radeon_object.c.

int radeon_bo_fault_reserve_notify ( struct ttm_buffer_object bo)

Definition at line 559 of file radeon_object.c.

int radeon_bo_fbdev_mmap ( struct radeon_bo bo,
struct vm_area_struct vma 
)

Definition at line 373 of file radeon_object.c.

void radeon_bo_fini ( struct radeon_device rdev)

Definition at line 324 of file radeon_object.c.

void radeon_bo_force_delete ( struct radeon_device rdev)

Definition at line 289 of file radeon_object.c.

int radeon_bo_get_surface_reg ( struct radeon_bo bo)

Definition at line 379 of file radeon_object.c.

void radeon_bo_get_tiling_flags ( struct radeon_bo bo,
u32 tiling_flags,
u32 pitch 
)

Definition at line 509 of file radeon_object.c.

int radeon_bo_init ( struct radeon_device rdev)

Definition at line 311 of file radeon_object.c.

int radeon_bo_kmap ( struct radeon_bo bo,
void **  ptr 
)

Definition at line 156 of file radeon_object.c.

void radeon_bo_kunmap ( struct radeon_bo bo)

Definition at line 179 of file radeon_object.c.

void radeon_bo_list_add_object ( struct radeon_bo_list lobj,
struct list_head head 
)

Definition at line 329 of file radeon_object.c.

int radeon_bo_list_validate ( struct list_head head)

Definition at line 339 of file radeon_object.c.

void radeon_bo_move_notify ( struct ttm_buffer_object bo,
struct ttm_mem_reg mem 
)

Definition at line 548 of file radeon_object.c.

int radeon_bo_pin ( struct radeon_bo bo,
u32  domain,
u64 gpu_addr 
)

Definition at line 254 of file radeon_object.c.

int radeon_bo_pin_restricted ( struct radeon_bo bo,
u32  domain,
u64  max_offset,
u64 gpu_addr 
)

Definition at line 204 of file radeon_object.c.

int radeon_bo_reserve ( struct radeon_bo bo,
bool  no_intr 
)

radeon_bo_reserve - reserve bo : bo structure : don't return -ERESTARTSYS on pending signal

Returns: -ERESTARTSYS: A wait for the buffer to become unreserved was interrupted by a signal. Release all buffer reservations and return to user-space.

Definition at line 617 of file radeon_object.c.

int radeon_bo_set_tiling_flags ( struct radeon_bo bo,
u32  tiling_flags,
u32  pitch 
)

Definition at line 449 of file radeon_object.c.

int radeon_bo_unpin ( struct radeon_bo bo)

Definition at line 259 of file radeon_object.c.

void radeon_bo_unref ( struct radeon_bo **  bo)

Definition at line 188 of file radeon_object.c.

int radeon_bo_wait ( struct radeon_bo bo,
u32 mem_type,
bool  no_wait 
)

Definition at line 590 of file radeon_object.c.

void radeon_sa_bo_free ( struct radeon_device rdev,
struct radeon_sa_bo **  sa_bo,
struct radeon_fence fence 
)

Definition at line 373 of file radeon_sa.c.

void radeon_sa_bo_manager_fini ( struct radeon_device rdev,
struct radeon_sa_manager sa_manager 
)

Definition at line 76 of file radeon_sa.c.

int radeon_sa_bo_manager_init ( struct radeon_device rdev,
struct radeon_sa_manager sa_manager,
unsigned  size,
u32  domain 
)

Definition at line 50 of file radeon_sa.c.

int radeon_sa_bo_manager_start ( struct radeon_device rdev,
struct radeon_sa_manager sa_manager 
)

Definition at line 95 of file radeon_sa.c.

int radeon_sa_bo_manager_suspend ( struct radeon_device rdev,
struct radeon_sa_manager sa_manager 
)

Definition at line 122 of file radeon_sa.c.

int radeon_sa_bo_new ( struct radeon_device rdev,
struct radeon_sa_manager sa_manager,
struct radeon_sa_bo **  sa_bo,
unsigned  size,
unsigned  align,
bool  block 
)

Definition at line 311 of file radeon_sa.c.