Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/vc4/
Dvc4_gem.c51 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 …]
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)
Dvc4_validate.c115 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()
Dvc4_drv.h668 uint32_t bo_count; member
/linux-6.12.1/drivers/gpu/drm/v3d/
Dv3d_submit.c26 ret = drm_gem_lock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations()
30 for (i = 0; i < job->bo_count; i++) { in v3d_lock_bo_reservations()
44 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations()
69 u32 bo_count) in v3d_lookup_bos() argument
71 job->bo_count = bo_count; in v3d_lookup_bos()
73 if (!job->bo_count) { in v3d_lookup_bos()
83 job->bo_count, &job->bo); in v3d_lookup_bos()
93 for (i = 0; i < job->bo_count; i++) in v3d_job_free()
236 for (i = 0; i < job->bo_count; i++) { in v3d_attach_fences_and_unlock_reservation()
242 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_attach_fences_and_unlock_reservation()
[all …]
Dv3d_drv.h269 u32 bo_count; member
/linux-6.12.1/drivers/accel/ivpu/
Divpu_job.h54 size_t bo_count; member
55 struct ivpu_bo *bos[] __counted_by(bo_count);
Divpu_job.c430 for (i = 0; i < job->bo_count; i++) in ivpu_job_destroy()
440 ivpu_job_create(struct ivpu_file_priv *file_priv, u32 engine_idx, u32 bo_count) in ivpu_job_create() argument
445 job = kzalloc(struct_size(job, bos, bo_count), GFP_KERNEL); in ivpu_job_create()
451 job->bo_count = bo_count; in ivpu_job_create()
/linux-6.12.1/drivers/gpu/drm/panfrost/
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()
Dpanfrost_job.c262 int bo_count, in panfrost_acquire_object_fences() argument
267 for (i = 0; i < bo_count; i++) { in panfrost_acquire_object_fences()
283 int bo_count, in panfrost_attach_object_fences() argument
288 for (i = 0; i < bo_count; i++) in panfrost_attach_object_fences()
298 ret = drm_gem_lock_reservations(job->bos, job->bo_count, in panfrost_job_push()
308 ret = panfrost_acquire_object_fences(job->bos, job->bo_count, in panfrost_job_push()
321 panfrost_attach_object_fences(job->bos, job->bo_count, in panfrost_job_push()
325 drm_gem_unlock_reservations(job->bos, job->bo_count, &acquire_ctx); in panfrost_job_push()
340 for (i = 0; i < job->bo_count; i++) { in panfrost_job_cleanup()
351 for (i = 0; i < job->bo_count; i++) in panfrost_job_cleanup()
Dpanfrost_job.h31 u32 bo_count; member
Dpanfrost_drv.c146 job->bo_count = args->bo_handle_count; in panfrost_lookup_bos()
148 if (!job->bo_count) in panfrost_lookup_bos()
153 job->bo_count, &job->bos); in panfrost_lookup_bos()
157 job->mappings = kvmalloc_array(job->bo_count, in panfrost_lookup_bos()
163 for (i = 0; i < job->bo_count; i++) { in panfrost_lookup_bos()
/linux-6.12.1/drivers/gpu/drm/ttm/
Dttm_device.c113 atomic_set(&glob->bo_count, 0); in ttm_global_init()
116 &glob->bo_count); in ttm_global_init()
Dttm_bo.c314 atomic_dec(&ttm_glob.bo_count); in ttm_bo_release()
905 atomic_inc(&ttm_glob.bo_count); in ttm_bo_init_reserved()
Dttm_bo_util.c243 atomic_inc(&ttm_glob.bo_count); in ttm_buffer_object_transfer()
/linux-6.12.1/include/drm/ttm/
Dttm_device.h58 atomic_t bo_count; member
/linux-6.12.1/include/uapi/drm/
Dvc4_drm.h300 __u32 bo_count; member