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.h109 int num_refs = bo->num_cs_references; in radeon_bo_is_referenced_by_cs()
120 if (!bo->num_cs_references) in radeon_bo_is_referenced_by_cs_for_write()
136 return bo->num_cs_references != 0; in radeon_bo_is_referenced_by_any_cs()
Dradeon_drm_cs.c137 p_atomic_dec(&csc->relocs_bo[i].bo->num_cs_references); in radeon_cs_context_cleanup()
141 p_atomic_dec(&csc->slab_buffers[i].bo->num_cs_references); in radeon_cs_context_cleanup()
289 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_real_buffer()
342 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_slab_buffer()
421 p_atomic_dec(&cs->csc->relocs_bo[i].bo->num_cs_references); in radeon_drm_cs_validate()
526 assert(fence->num_cs_references); in radeon_bo_slab_fence()
531 if (bo->u.slab.fences[src]->num_cs_references) { in radeon_bo_slab_fence()
746 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.h245 int num_refs = bo->num_cs_references; in amdgpu_bo_is_referenced_by_cs()
258 if (!bo->num_cs_references) in amdgpu_bo_is_referenced_by_cs_with_usage()
275 return bo->num_cs_references != 0; in amdgpu_bo_is_referenced_by_any_cs()
Damdgpu_bo.h102 int num_cs_references; member
Damdgpu_cs.c487 p_atomic_inc(&bo->num_cs_references); in amdgpu_do_add_real_buffer()
556 p_atomic_inc(&bo->num_cs_references); in amdgpu_lookup_or_add_slab_buffer()
599 p_atomic_inc(&bo->num_cs_references); in amdgpu_lookup_or_add_sparse_buffer()
909 p_atomic_dec(&cs->real_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()
913 p_atomic_dec(&cs->slab_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()
917 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.c214 p_atomic_set(&res->num_cs_references, 0); in virgl_drm_winsys_resource_create_blob()
271 p_atomic_set(&res->num_cs_references, 0); in virgl_drm_winsys_resource_create()
500 res->num_cs_references = 0; in virgl_drm_winsys_resource_create_handle()
622 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_free_res_list()
684 p_atomic_inc(&res->num_cs_references); in virgl_drm_add_res()
697 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_clear_res_list()
725 if (!p_atomic_read(&res->num_cs_references)) in virgl_drm_res_is_ref()
Dvirgl_drm_winsys.h42 int num_cs_references; member
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c297 p_atomic_set(&res->num_cs_references, 0); in virgl_vtest_winsys_resource_create()
407 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_vtest_release_all_res()
438 p_atomic_inc(&res->num_cs_references); in virgl_vtest_add_res()
536 if (!p_atomic_read(&res->num_cs_references)) in virgl_vtest_res_is_ref()
Dvirgl_vtest_winsys.h58 int num_cs_references; member