Home
last modified time | relevance | path

Searched refs:num_cs_references (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.h104 int num_refs = bo->num_cs_references; in radeon_bo_is_referenced_by_cs()
115 if (!bo->num_cs_references) in radeon_bo_is_referenced_by_cs_for_write()
131 return bo->num_cs_references != 0; in radeon_bo_is_referenced_by_any_cs()
Dradeon_drm_cs.c120 p_atomic_dec(&csc->relocs_bo[i].bo->num_cs_references); in radeon_cs_context_cleanup()
124 p_atomic_dec(&csc->slab_buffers[i].bo->num_cs_references); in radeon_cs_context_cleanup()
271 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_real_buffer()
324 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_slab_buffer()
403 p_atomic_dec(&cs->csc->relocs_bo[i].bo->num_cs_references); in radeon_drm_cs_validate()
506 assert(fence->num_cs_references); in radeon_bo_slab_fence()
511 if (bo->u.slab.fences[src]->num_cs_references) { in radeon_bo_slab_fence()
725 if (!bo->num_cs_references) in radeon_bo_is_referenced()
Dradeon_drm_bo.h66 int num_cs_references; member
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h222 int num_refs = bo->num_cs_references; in amdgpu_bo_is_referenced_by_cs()
235 if (!bo->num_cs_references) in amdgpu_bo_is_referenced_by_cs_with_usage()
252 return bo->num_cs_references != 0; in amdgpu_bo_is_referenced_by_any_cs()
Damdgpu_bo.h99 int num_cs_references; member
Damdgpu_cs.c446 p_atomic_inc(&bo->num_cs_references); in amdgpu_do_add_real_buffer()
515 p_atomic_inc(&bo->num_cs_references); in amdgpu_lookup_or_add_slab_buffer()
558 p_atomic_inc(&bo->num_cs_references); in amdgpu_lookup_or_add_sparse_buffer()
829 p_atomic_dec(&cs->real_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()
833 p_atomic_dec(&cs->slab_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()
837 p_atomic_dec(&cs->sparse_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.h41 int num_cs_references; member
Dvirgl_drm_winsys.c224 res->num_cs_references = 0; in virgl_drm_winsys_resource_create()
461 res->num_cs_references = 0; in virgl_drm_winsys_resource_create_handle()
633 p_atomic_inc(&res->num_cs_references); in virgl_drm_add_res()
643 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_release_all_res()
668 if (!res->num_cs_references) in virgl_drm_res_is_ref()
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.h57 int num_cs_references; member
Dvirgl_vtest_winsys.c450 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_vtest_release_all_res()
472 p_atomic_inc(&res->num_cs_references); in virgl_vtest_add_res()
512 if (!res->num_cs_references) in virgl_vtest_res_is_ref()