Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.h108 int num_refs = bo->num_cs_references; in radeon_bo_is_referenced_by_cs()
119 if (!bo->num_cs_references) in radeon_bo_is_referenced_by_cs_for_write()
135 return bo->num_cs_references != 0; in radeon_bo_is_referenced_by_any_cs()
Dradeon_drm_cs.c145 p_atomic_dec(&csc->relocs_bo[i].bo->num_cs_references); in radeon_cs_context_cleanup()
149 p_atomic_dec(&csc->slab_buffers[i].bo->num_cs_references); in radeon_cs_context_cleanup()
308 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_real_buffer()
361 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_slab_buffer()
443 p_atomic_dec(&cs->csc->relocs_bo[i].bo->num_cs_references); in radeon_drm_cs_validate()
547 assert(fence->num_cs_references); in radeon_bo_slab_fence()
552 if (bo->u.slab.fences[src]->num_cs_references) { in radeon_bo_slab_fence()
768 if (!bo->num_cs_references) in radeon_bo_is_referenced()
Dradeon_drm_bo.h66 int num_cs_references; member
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c242 p_atomic_set(&res->num_cs_references, 0); in virgl_drm_winsys_resource_create_blob()
310 p_atomic_set(&res->num_cs_references, 0); in virgl_drm_winsys_resource_create()
560 res->num_cs_references = 0; in virgl_drm_winsys_resource_create_handle()
734 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_free_res_list()
796 p_atomic_inc(&res->num_cs_references); in virgl_drm_add_res()
809 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_clear_res_list()
837 if (!p_atomic_read(&res->num_cs_references)) in virgl_drm_res_is_ref()
Dvirgl_drm_winsys.h42 int num_cs_references; member
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c322 p_atomic_set(&res->num_cs_references, 0); in virgl_vtest_winsys_resource_create()
444 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_vtest_release_all_res()
475 p_atomic_inc(&res->num_cs_references); in virgl_vtest_add_res()
574 if (!p_atomic_read(&res->num_cs_references)) in virgl_vtest_res_is_ref()
Dvirgl_vtest_winsys.h58 int num_cs_references; member
/third_party/mesa3d/docs/relnotes/
D21.1.0.rst3403 - winsys/amdgpu: remove amdgpu_winsys_bo::num_cs_references to remove atomics