Home
last modified time | relevance | path

Searched refs:sa_bo (Results 1 – 11 of 11) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_sa.c47 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 …]
Dradeon_object.h163 static inline uint64_t radeon_sa_bo_gpu_addr(struct radeon_sa_bo *sa_bo) in radeon_sa_bo_gpu_addr() argument
165 return sa_bo->manager->gpu_addr + sa_bo->soffset; in radeon_sa_bo_gpu_addr()
168 static inline void * radeon_sa_bo_cpu_addr(struct radeon_sa_bo *sa_bo) in radeon_sa_bo_cpu_addr() argument
170 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in radeon_sa_bo_cpu_addr()
185 struct radeon_sa_bo **sa_bo,
188 struct radeon_sa_bo **sa_bo,
Dradeon_semaphore.c44 &(*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()
Dradeon_ib.c61 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()
Dradeon_cs.c267 p->ib.sa_bo = NULL; in radeon_cs_parser_init()
268 p->const_ib.sa_bo = NULL; in radeon_cs_parser_init()
Dradeon.h590 struct radeon_sa_bo *sa_bo; member
836 struct radeon_sa_bo *sa_bo; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sa.c47 static void amdgpu_sa_bo_remove_locked(struct amdgpu_sa_bo *sa_bo);
80 struct amdgpu_sa_bo *sa_bo, *tmp; in amdgpu_sa_bo_manager_fini() local
89 list_for_each_entry_safe(sa_bo, tmp, &sa_manager->olist, olist) { in amdgpu_sa_bo_manager_fini()
90 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 …]
Damdgpu_object.h173 static inline uint64_t amdgpu_sa_bo_gpu_addr(struct amdgpu_sa_bo *sa_bo) in amdgpu_sa_bo_gpu_addr() argument
175 return sa_bo->manager->gpu_addr + sa_bo->soffset; in amdgpu_sa_bo_gpu_addr()
178 static inline void * amdgpu_sa_bo_cpu_addr(struct amdgpu_sa_bo *sa_bo) in amdgpu_sa_bo_cpu_addr() argument
180 return sa_bo->manager->cpu_ptr + sa_bo->soffset; in amdgpu_sa_bo_cpu_addr()
193 struct amdgpu_sa_bo **sa_bo,
196 struct amdgpu_sa_bo **sa_bo,
Damdgpu_semaphore.c44 &(*semaphore)->sa_bo, 8, 8); in amdgpu_semaphore_create()
51 (*semaphore)->gpu_addr = amdgpu_sa_bo_gpu_addr((*semaphore)->sa_bo); in amdgpu_semaphore_create()
53 *((uint64_t *)amdgpu_sa_bo_cpu_addr((*semaphore)->sa_bo)) = 0; in amdgpu_semaphore_create()
99 amdgpu_sa_bo_free(adev, &(*semaphore)->sa_bo, fence); in amdgpu_semaphore_free()
Damdgpu_ib.c66 &ib->sa_bo, size, 256); in amdgpu_ib_get()
72 ib->ptr = amdgpu_sa_bo_cpu_addr(ib->sa_bo); in amdgpu_ib_get()
75 ib->gpu_addr = amdgpu_sa_bo_gpu_addr(ib->sa_bo); in amdgpu_ib_get()
97 amdgpu_sa_bo_free(adev, &ib->sa_bo, &ib->fence->base); in amdgpu_ib_free()
Damdgpu.h644 struct amdgpu_sa_bo *sa_bo; member
807 struct amdgpu_sa_bo *sa_bo; member