Searched refs:num_cs_references (Results 1 – 8 of 8) sorted by relevance
108 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()
145 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()
66 int num_cs_references; member
242 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()
42 int num_cs_references; member
322 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()
58 int num_cs_references; member
3403 - winsys/amdgpu: remove amdgpu_winsys_bo::num_cs_references to remove atomics