Searched refs:sa_manager (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_sa.c | 57 sa_manager->bo = NULL; in radeon_sa_bo_manager_init() 58 sa_manager->size = size; in radeon_sa_bo_manager_init() 61 sa_manager->hole = &sa_manager->olist; in radeon_sa_bo_manager_init() 83 sa_manager->hole = &sa_manager->olist, in radeon_sa_bo_manager_fini() 93 sa_manager->size = 0; in radeon_sa_bo_manager_fini() 112 r = radeon_bo_pin(sa_manager->bo, sa_manager->domain, &sa_manager->gpu_addr); in radeon_sa_bo_manager_start() 118 r = radeon_bo_kmap(sa_manager->bo, &sa_manager->cpu_ptr); in radeon_sa_bo_manager_start() 158 if (sa_manager->hole->next == &sa_manager->olist) in radeon_sa_bo_try_free() 255 if (sa_manager->hole->next == &sa_manager->olist) { in radeon_sa_bo_next_hole() 257 sa_manager->hole = &sa_manager->olist; in radeon_sa_bo_next_hole() [all …]
|
A D | radeon_object.h | 186 struct radeon_sa_manager *sa_manager, 190 struct radeon_sa_manager *sa_manager); 192 struct radeon_sa_manager *sa_manager); 194 struct radeon_sa_manager *sa_manager); 196 struct radeon_sa_manager *sa_manager, 203 extern void radeon_sa_bo_dump_debug_info(struct radeon_sa_manager *sa_manager,
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_sa.c | 57 sa_manager->bo = NULL; in amdgpu_sa_bo_manager_init() 61 sa_manager->hole = &sa_manager->olist; in amdgpu_sa_bo_manager_init() 67 &sa_manager->gpu_addr, &sa_manager->cpu_ptr); in amdgpu_sa_bo_manager_init() 73 memset(sa_manager->cpu_ptr, 0, sa_manager->size); in amdgpu_sa_bo_manager_init() 88 sa_manager->hole = &sa_manager->olist, in amdgpu_sa_bo_manager_fini() 98 amdgpu_bo_free_kernel(&sa_manager->bo, &sa_manager->gpu_addr, &sa_manager->cpu_ptr); in amdgpu_sa_bo_manager_fini() 99 sa_manager->size = 0; in amdgpu_sa_bo_manager_fini() 118 if (sa_manager->hole->next == &sa_manager->olist) in amdgpu_sa_bo_try_free() 214 if (sa_manager->hole->next == &sa_manager->olist) { in amdgpu_sa_bo_next_hole() 216 sa_manager->hole = &sa_manager->olist; in amdgpu_sa_bo_next_hole() [all …]
|
A D | amdgpu_object.h | 352 struct amdgpu_sa_manager *sa_manager, 355 struct amdgpu_sa_manager *sa_manager); 357 struct amdgpu_sa_manager *sa_manager); 358 int amdgpu_sa_bo_new(struct amdgpu_sa_manager *sa_manager, 365 void amdgpu_sa_bo_dump_debug_info(struct amdgpu_sa_manager *sa_manager,
|
Completed in 9 milliseconds