Home
last modified time | relevance | path

Searched refs:bo_count (Results 1 – 15 of 15) sorted by relevance

/drivers/gpu/drm/vc4/
A Dvc4_gem.c52 u32 bo_count; member
99 if (get_state->bo_count < state->bo_count) { in vc4_get_hang_state_ioctl()
100 get_state->bo_count = state->bo_count; in vc4_get_hang_state_ioctl()
126 state->bo_count = i; in vc4_get_hang_state_ioctl()
141 for (i = 0; i < state->bo_count; i++) in vc4_get_hang_state_ioctl()
178 state->bo_count = 0; in vc4_save_hang_state()
186 state->bo_count += exec[i]->bo_count + unref_list_count; in vc4_save_hang_state()
224 WARN_ON_ONCE(k != state->bo_count); in vc4_save_hang_state()
593 exec->bo_count, 1); in vc4_lock_bo_reservations()
687 if (!exec->bo_count) { in vc4_cl_lookup_bos()
[all …]
A Dvc4_trace.h56 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)
A Dvc4_validate.c115 if (hindex >= exec->bo_count) { in vc4_use_bo()
117 hindex, exec->bo_count); in vc4_use_bo()
800 if (src_handles[i] > exec->bo_count) { in validate_gl_shader_rec()
A Dvc4_drv.h691 uint32_t bo_count; member
/drivers/gpu/drm/v3d/
A Dv3d_submit.c31 for (i = 0; i < job->bo_count; i++) { in v3d_lock_bo_reservations()
70 u32 bo_count) in v3d_lookup_bos() argument
72 job->bo_count = bo_count; in v3d_lookup_bos()
74 if (!job->bo_count) { in v3d_lookup_bos()
84 job->bo_count, &job->bo); in v3d_lookup_bos()
94 for (i = 0; i < job->bo_count; i++) in v3d_job_free()
237 for (i = 0; i < job->bo_count; i++) { in v3d_attach_fences_and_unlock_reservation()
1109 for (job->base.bo_count = 0; in v3d_submit_tfu_ioctl()
1111 job->base.bo_count++) { in v3d_submit_tfu_ioctl()
1120 job->base.bo_count, in v3d_submit_tfu_ioctl()
[all …]
A Dv3d_drv.h303 u32 bo_count; member
/drivers/gpu/drm/panfrost/
A Dpanfrost_dump.c130 for (i = 0; i < job->bo_count; i++) { in panfrost_core_dump()
184 iter.hdr->reghdr.nbos = job->bo_count; in panfrost_core_dump()
189 if (job->bo_count) { in panfrost_core_dump()
196 for (i = 0; i < job->bo_count; i++) { in panfrost_core_dump()
A Dpanfrost_job.c267 int bo_count, in panfrost_acquire_object_fences() argument
272 for (i = 0; i < bo_count; i++) { in panfrost_acquire_object_fences()
288 int bo_count, in panfrost_attach_object_fences() argument
293 for (i = 0; i < bo_count; i++) in panfrost_attach_object_fences()
303 ret = drm_gem_lock_reservations(job->bos, job->bo_count, in panfrost_job_push()
313 ret = panfrost_acquire_object_fences(job->bos, job->bo_count, in panfrost_job_push()
326 panfrost_attach_object_fences(job->bos, job->bo_count, in panfrost_job_push()
330 drm_gem_unlock_reservations(job->bos, job->bo_count, &acquire_ctx); in panfrost_job_push()
345 for (i = 0; i < job->bo_count; i++) { in panfrost_job_cleanup()
356 for (i = 0; i < job->bo_count; i++) in panfrost_job_cleanup()
A Dpanfrost_drv.c186 job->bo_count = args->bo_handle_count; in panfrost_lookup_bos()
188 if (!job->bo_count) in panfrost_lookup_bos()
193 job->bo_count, &job->bos); in panfrost_lookup_bos()
197 job->mappings = kvmalloc_array(job->bo_count, in panfrost_lookup_bos()
203 for (i = 0; i < job->bo_count; i++) { in panfrost_lookup_bos()
A Dpanfrost_job.h31 u32 bo_count; member
/drivers/accel/ivpu/
A Divpu_job.h57 size_t bo_count; member
58 struct ivpu_bo *bos[] __counted_by(bo_count);
A Divpu_job.c501 for (i = 0; i < job->bo_count; i++) in ivpu_job_destroy()
511 ivpu_job_create(struct ivpu_file_priv *file_priv, u32 engine_idx, u32 bo_count) in ivpu_job_create() argument
516 job = kzalloc(struct_size(job, bos, bo_count), GFP_KERNEL); in ivpu_job_create()
522 job->bo_count = bo_count; in ivpu_job_create()
/drivers/gpu/drm/ttm/
A Dttm_device.c115 atomic_set(&glob->bo_count, 0); in ttm_global_init()
118 &glob->bo_count); in ttm_global_init()
A Dttm_bo.c317 atomic_dec(&ttm_glob.bo_count); in ttm_bo_release()
948 atomic_inc(&ttm_glob.bo_count); in ttm_bo_init_reserved()
A Dttm_bo_util.c247 atomic_inc(&ttm_glob.bo_count); in ttm_buffer_object_transfer()

Completed in 46 milliseconds