Searched refs:sa_bo (Results 1 – 12 of 12) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_sa.c | 47 static void radeon_sa_bo_remove_locked(struct radeon_sa_bo *sa_bo); 80 struct radeon_sa_bo *sa_bo, *tmp; in radeon_sa_bo_manager_fini() local 89 list_for_each_entry_safe(sa_bo, tmp, &sa_manager->olist, olist) { in radeon_sa_bo_manager_fini() 90 radeon_sa_bo_remove_locked(sa_bo); in radeon_sa_bo_manager_fini() 142 static void radeon_sa_bo_remove_locked(struct radeon_sa_bo *sa_bo) in radeon_sa_bo_remove_locked() argument 144 struct radeon_sa_manager *sa_manager = sa_bo->manager; in radeon_sa_bo_remove_locked() 145 if (sa_manager->hole == &sa_bo->olist) { in radeon_sa_bo_remove_locked() 146 sa_manager->hole = sa_bo->olist.prev; in radeon_sa_bo_remove_locked() 148 list_del_init(&sa_bo->olist); in radeon_sa_bo_remove_locked() 149 list_del_init(&sa_bo->flist); in radeon_sa_bo_remove_locked() [all …]
|
D | radeon_object.h | 164 static inline uint64_t radeon_sa_bo_gpu_addr(struct radeon_sa_bo *sa_bo) in radeon_sa_bo_gpu_addr() argument 166 return sa_bo->manager->gpu_addr + sa_bo->soffset; in radeon_sa_bo_gpu_addr() 169 static inline void * radeon_sa_bo_cpu_addr(struct radeon_sa_bo *sa_bo) in radeon_sa_bo_cpu_addr() argument 171 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr() 186 struct radeon_sa_bo **sa_bo, 189 struct radeon_sa_bo **sa_bo,
|
D | radeon_semaphore.c | 44 &(*semaphore)->sa_bo, 8, 8); in radeon_semaphore_create() 51 (*semaphore)->gpu_addr = radeon_sa_bo_gpu_addr((*semaphore)->sa_bo); in radeon_semaphore_create() 53 *((uint64_t *)radeon_sa_bo_cpu_addr((*semaphore)->sa_bo)) = 0; in radeon_semaphore_create() 103 radeon_sa_bo_free(rdev, &(*semaphore)->sa_bo, fence); in radeon_semaphore_free()
|
D | radeon_ib.c | 61 r = radeon_sa_bo_new(rdev, &rdev->ring_tmp_bo, &ib->sa_bo, size, 256); in radeon_ib_get() 71 ib->ptr = radeon_sa_bo_cpu_addr(ib->sa_bo); in radeon_ib_get() 77 ib->gpu_addr = ib->sa_bo->soffset + RADEON_VA_IB_OFFSET; in radeon_ib_get() 79 ib->gpu_addr = radeon_sa_bo_gpu_addr(ib->sa_bo); in radeon_ib_get() 97 radeon_sa_bo_free(rdev, &ib->sa_bo, ib->fence); in radeon_ib_free()
|
D | radeon_cs.c | 280 p->ib.sa_bo = NULL; in radeon_cs_parser_init() 281 p->const_ib.sa_bo = NULL; in radeon_cs_parser_init()
|
D | radeon.h | 597 struct radeon_sa_bo *sa_bo; member 830 struct radeon_sa_bo *sa_bo; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sa.c | 47 static void amdgpu_sa_bo_remove_locked(struct amdgpu_sa_bo *sa_bo); 79 struct amdgpu_sa_bo *sa_bo, *tmp; in amdgpu_sa_bo_manager_fini() local 88 list_for_each_entry_safe(sa_bo, tmp, &sa_manager->olist, olist) { in amdgpu_sa_bo_manager_fini() 89 amdgpu_sa_bo_remove_locked(sa_bo); in amdgpu_sa_bo_manager_fini() 142 static void amdgpu_sa_bo_remove_locked(struct amdgpu_sa_bo *sa_bo) in amdgpu_sa_bo_remove_locked() argument 144 struct amdgpu_sa_manager *sa_manager = sa_bo->manager; in amdgpu_sa_bo_remove_locked() 145 if (sa_manager->hole == &sa_bo->olist) { in amdgpu_sa_bo_remove_locked() 146 sa_manager->hole = sa_bo->olist.prev; in amdgpu_sa_bo_remove_locked() 148 list_del_init(&sa_bo->olist); in amdgpu_sa_bo_remove_locked() 149 list_del_init(&sa_bo->flist); in amdgpu_sa_bo_remove_locked() [all …]
|
D | amdgpu_object.h | 257 static inline uint64_t amdgpu_sa_bo_gpu_addr(struct amdgpu_sa_bo *sa_bo) in amdgpu_sa_bo_gpu_addr() argument 259 return sa_bo->manager->gpu_addr + sa_bo->soffset; in amdgpu_sa_bo_gpu_addr() 262 static inline void * amdgpu_sa_bo_cpu_addr(struct amdgpu_sa_bo *sa_bo) in amdgpu_sa_bo_cpu_addr() argument 264 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr() 277 struct amdgpu_sa_bo **sa_bo, 280 struct amdgpu_sa_bo **sa_bo,
|
D | amdgpu_ib.c | 67 &ib->sa_bo, size, 256); in amdgpu_ib_get() 73 ib->ptr = amdgpu_sa_bo_cpu_addr(ib->sa_bo); in amdgpu_ib_get() 76 ib->gpu_addr = amdgpu_sa_bo_gpu_addr(ib->sa_bo); in amdgpu_ib_get() 94 amdgpu_sa_bo_free(adev, &ib->sa_bo, f); in amdgpu_ib_free()
|
D | amdgpu_vce.c | 654 ib->gpu_addr = amdgpu_sa_bo_gpu_addr(ib->sa_bo); in amdgpu_vce_ring_parse_cs()
|
D | amdgpu_uvd.c | 915 ib->gpu_addr = amdgpu_sa_bo_gpu_addr(ib->sa_bo); in amdgpu_uvd_ring_parse_cs()
|
D | amdgpu.h | 660 struct amdgpu_sa_bo *sa_bo; member
|