Searched refs:bo_count (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/v3d/ |
| D | v3d_gem.c | 255 ret = drm_gem_lock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations() 259 for (i = 0; i < job->bo_count; i++) { in v3d_lock_bo_reservations() 263 drm_gem_unlock_reservations(job->bo, job->bo_count, in v3d_lock_bo_reservations() 291 u32 bo_count) in v3d_lookup_bos() argument 297 job->bo_count = bo_count; in v3d_lookup_bos() 299 if (!job->bo_count) { in v3d_lookup_bos() 307 job->bo = kvmalloc_array(job->bo_count, in v3d_lookup_bos() 315 handles = kvmalloc_array(job->bo_count, sizeof(u32), GFP_KERNEL); in v3d_lookup_bos() 324 job->bo_count * sizeof(u32))) { in v3d_lookup_bos() 331 for (i = 0; i < job->bo_count; i++) { in v3d_lookup_bos() [all …]
|
| D | v3d_drv.h | 194 u32 bo_count; member
|
| /Linux-v5.4/drivers/gpu/drm/vc4/ |
| D | vc4_gem.c | 51 u32 bo_count; member 60 for (i = 0; i < state->user_state.bo_count; i++) in vc4_free_hang_state() 95 if (get_state->bo_count < state->bo_count) { in vc4_get_hang_state_ioctl() 96 get_state->bo_count = state->bo_count; in vc4_get_hang_state_ioctl() 108 bo_state = kcalloc(state->bo_count, sizeof(*bo_state), GFP_KERNEL); in vc4_get_hang_state_ioctl() 114 for (i = 0; i < state->bo_count; i++) { in vc4_get_hang_state_ioctl() 122 state->bo_count = i; in vc4_get_hang_state_ioctl() 132 state->bo_count * sizeof(*bo_state))) in vc4_get_hang_state_ioctl() 137 for (i = 0; i < state->bo_count; i++) in vc4_get_hang_state_ioctl() 174 state->bo_count = 0; in vc4_save_hang_state() [all …]
|
| D | vc4_validate.c | 111 if (hindex >= exec->bo_count) { in vc4_use_bo() 113 hindex, exec->bo_count); in vc4_use_bo() 796 if (src_handles[i] > exec->bo_count) { in validate_gl_shader_rec()
|
| D | vc4_drv.h | 506 uint32_t bo_count; member
|
| /Linux-v5.4/drivers/gpu/drm/panfrost/ |
| D | panfrost_job.c | 191 int bo_count, in panfrost_acquire_object_fences() argument 196 for (i = 0; i < bo_count; i++) in panfrost_acquire_object_fences() 201 int bo_count, in panfrost_attach_object_fences() argument 206 for (i = 0; i < bo_count; i++) in panfrost_attach_object_fences() 220 ret = drm_gem_lock_reservations(job->bos, job->bo_count, in panfrost_job_push() 237 panfrost_acquire_object_fences(job->bos, job->bo_count, in panfrost_job_push() 244 panfrost_attach_object_fences(job->bos, job->bo_count, in panfrost_job_push() 248 drm_gem_unlock_reservations(job->bos, job->bo_count, &acquire_ctx); in panfrost_job_push() 265 for (i = 0; i < job->bo_count; i++) in panfrost_job_cleanup() 273 for (i = 0; i < job->bo_count; i++) in panfrost_job_cleanup() [all …]
|
| D | panfrost_job.h | 36 u32 bo_count; member
|
| D | panfrost_drv.c | 122 job->bo_count = args->bo_handle_count; in panfrost_lookup_bos() 124 if (!job->bo_count) in panfrost_lookup_bos() 127 job->implicit_fences = kvmalloc_array(job->bo_count, in panfrost_lookup_bos() 135 job->bo_count, &job->bos); in panfrost_lookup_bos()
|
| /Linux-v5.4/include/uapi/drm/ |
| D | vc4_drm.h | 300 __u32 bo_count; member
|
| /Linux-v5.4/include/drm/ttm/ |
| D | ttm_bo_driver.h | 443 atomic_t bo_count; member
|
| /Linux-v5.4/drivers/gpu/drm/ttm/ |
| D | ttm_bo.c | 123 atomic_read(&glob->bo_count)); in ttm_bo_global_show() 161 atomic_dec(&bo->bdev->glob->bo_count); in ttm_bo_release_list() 1352 atomic_inc(&bo->bdev->glob->bo_count); in ttm_bo_init_reserved() 1665 atomic_set(&glob->bo_count, 0); in ttm_bo_global_init()
|
| D | ttm_bo_util.c | 506 atomic_inc(&bo->bdev->glob->bo_count); in ttm_buffer_object_transfer()
|