Searched refs:bo_count (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.10/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() 98 if (get_state->bo_count < state->bo_count) { in vc4_get_hang_state_ioctl() 99 get_state->bo_count = state->bo_count; in vc4_get_hang_state_ioctl() 111 bo_state = kcalloc(state->bo_count, sizeof(*bo_state), GFP_KERNEL); in vc4_get_hang_state_ioctl() 117 for (i = 0; i < state->bo_count; i++) { in vc4_get_hang_state_ioctl() 125 state->bo_count = i; in vc4_get_hang_state_ioctl() 135 state->bo_count * sizeof(*bo_state))) in vc4_get_hang_state_ioctl() 140 for (i = 0; i < state->bo_count; i++) in vc4_get_hang_state_ioctl() 177 state->bo_count = 0; in vc4_save_hang_state() [all …]
|
D | vc4_trace.h | 56 TP_PROTO(struct drm_device *dev, u32 bin_cl_size, u32 shader_rec_size, u32 bo_count), 57 TP_ARGS(dev, bin_cl_size, shader_rec_size, bo_count), 63 __field(u32, bo_count) 70 __entry->bo_count = bo_count; 77 __entry->bo_count)
|
D | vc4_validate.c | 115 if (hindex >= exec->bo_count) { in vc4_use_bo() 117 hindex, exec->bo_count); in vc4_use_bo() 808 if (src_handles[i] > exec->bo_count) { in validate_gl_shader_rec()
|
D | vc4_drv.h | 607 uint32_t bo_count; member
|
/linux-5.19.10/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 257 ret = drm_gem_lock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations() 261 for (i = 0; i < job->bo_count; i++) { in v3d_lock_bo_reservations() 275 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations() 300 u32 bo_count) in v3d_lookup_bos() argument 306 job->bo_count = bo_count; in v3d_lookup_bos() 308 if (!job->bo_count) { in v3d_lookup_bos() 316 job->bo = kvmalloc_array(job->bo_count, in v3d_lookup_bos() 324 handles = kvmalloc_array(job->bo_count, sizeof(u32), GFP_KERNEL); in v3d_lookup_bos() 333 job->bo_count * sizeof(u32))) { in v3d_lookup_bos() 340 for (i = 0; i < job->bo_count; i++) { in v3d_lookup_bos() [all …]
|
D | v3d_drv.h | 226 u32 bo_count; member
|
/linux-5.19.10/drivers/gpu/drm/panfrost/ |
D | panfrost_job.c | 244 int bo_count, in panfrost_acquire_object_fences() argument 249 for (i = 0; i < bo_count; i++) { in panfrost_acquire_object_fences() 265 int bo_count, in panfrost_attach_object_fences() argument 270 for (i = 0; i < bo_count; i++) in panfrost_attach_object_fences() 280 ret = drm_gem_lock_reservations(job->bos, job->bo_count, in panfrost_job_push() 290 ret = panfrost_acquire_object_fences(job->bos, job->bo_count, in panfrost_job_push() 303 panfrost_attach_object_fences(job->bos, job->bo_count, in panfrost_job_push() 307 drm_gem_unlock_reservations(job->bos, job->bo_count, &acquire_ctx); in panfrost_job_push() 322 for (i = 0; i < job->bo_count; i++) { in panfrost_job_cleanup() 333 for (i = 0; i < job->bo_count; i++) in panfrost_job_cleanup()
|
D | panfrost_drv.c | 136 job->bo_count = args->bo_handle_count; in panfrost_lookup_bos() 138 if (!job->bo_count) in panfrost_lookup_bos() 143 job->bo_count, &job->bos); in panfrost_lookup_bos() 147 job->mappings = kvmalloc_array(job->bo_count, in panfrost_lookup_bos() 153 for (i = 0; i < job->bo_count; i++) { in panfrost_lookup_bos()
|
D | panfrost_job.h | 31 u32 bo_count; member
|
/linux-5.19.10/drivers/gpu/drm/ttm/ |
D | ttm_device.c | 106 atomic_set(&glob->bo_count, 0); in ttm_global_init() 109 &glob->bo_count); in ttm_global_init()
|
D | ttm_bo.c | 420 atomic_dec(&ttm_glob.bo_count); in ttm_bo_release() 961 atomic_inc(&ttm_glob.bo_count); in ttm_bo_init_reserved()
|
D | ttm_bo_util.c | 229 atomic_inc(&ttm_glob.bo_count); in ttm_buffer_object_transfer()
|
/linux-5.19.10/include/drm/ttm/ |
D | ttm_device.h | 58 atomic_t bo_count; member
|
/linux-5.19.10/include/uapi/drm/ |
D | vc4_drm.h | 300 __u32 bo_count; member
|