Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vc4/
H A Dvc4_gem.c53 u32 bo_count; member
62 for (i = 0; i < state->user_state.bo_count; i++) in vc4_free_hang_state()
101 if (get_state->bo_count < state->bo_count) { in vc4_get_hang_state_ioctl()
102 get_state->bo_count = state->bo_count; in vc4_get_hang_state_ioctl()
114 bo_state = kzalloc_objs(*bo_state, state->bo_count); in vc4_get_hang_state_ioctl()
120 for (i = 0; i < state->bo_count; i++) { in vc4_get_hang_state_ioctl()
128 state->bo_count = i; in vc4_get_hang_state_ioctl()
138 state->bo_count * sizeof(*bo_state))) in vc4_get_hang_state_ioctl()
143 for (i = 0; i < state->bo_count; i++) in vc4_get_hang_state_ioctl()
178 state->bo_count = 0; in vc4_save_hang_state()
[all …]
H 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)
/linux/drivers/gpu/drm/v3d/
H A Dv3d_submit.c28 ret = drm_gem_lock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations()
32 for (i = 0; i < job->bo_count; i++) { in v3d_lock_bo_reservations()
46 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations()
71 u32 bo_count) in v3d_lookup_bos() argument
73 job->bo_count = bo_count; in v3d_lookup_bos()
75 if (!job->bo_count) { in v3d_lookup_bos()
85 job->bo_count, &job->bo); in v3d_lookup_bos()
95 for (i = 0; i < job->bo_count; i++) in v3d_job_free()
244 for (i = 0; i < job->bo_count; i++) { in v3d_attach_fences_and_unlock_reservation()
250 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_attach_fences_and_unlock_reservation()
[all …]
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_job.c283 int bo_count, in panfrost_acquire_object_fences() argument
288 for (i = 0; i < bo_count; i++) { in panfrost_acquire_object_fences()
304 int bo_count, in panfrost_attach_object_fences() argument
309 for (i = 0; i < bo_count; i++) in panfrost_attach_object_fences()
319 ret = drm_gem_lock_reservations(job->bos, job->bo_count, in panfrost_job_push()
329 ret = panfrost_acquire_object_fences(job->bos, job->bo_count, in panfrost_job_push()
342 panfrost_attach_object_fences(job->bos, job->bo_count, in panfrost_job_push()
346 drm_gem_unlock_reservations(job->bos, job->bo_count, &acquire_ctx); in panfrost_job_push()
361 for (i = 0; i < job->bo_count; i++) { in panfrost_job_cleanup()
372 for (i = 0; i < job->bo_count; i++) in panfrost_job_cleanup()
H A Dpanfrost_drv.c199 job->bo_count = args->bo_handle_count; in panfrost_lookup_bos()
201 if (!job->bo_count) in panfrost_lookup_bos()
206 job->bo_count, &job->bos); in panfrost_lookup_bos()
211 job->bo_count, GFP_KERNEL | __GFP_ZERO); in panfrost_lookup_bos()
215 for (i = 0; i < job->bo_count; i++) { in panfrost_lookup_bos()
/linux/drivers/accel/rocket/
H A Drocket_job.c156 int bo_count, in rocket_acquire_object_fences() argument
162 for (i = 0; i < bo_count; i++) { in rocket_acquire_object_fences()
177 int bo_count, in rocket_attach_object_fences() argument
182 for (i = 0; i < bo_count; i++) in rocket_attach_object_fences()
/linux/include/uapi/drm/
H A Dvc4_drm.h300 __u32 bo_count; member
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo.c318 atomic_dec(&ttm_glob.bo_count); in ttm_bo_release()
949 atomic_inc(&ttm_glob.bo_count); in ttm_bo_init_reserved()
H A Dttm_bo_util.c247 atomic_inc(&ttm_glob.bo_count); in ttm_buffer_object_transfer()