/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
H A 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() 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 * sizeo in v3d_lookup_bos() 287 v3d_lookup_bos(struct drm_device *dev, struct drm_file *file_priv, struct v3d_job *job, u64 bo_handles, u32 bo_count) v3d_lookup_bos() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A 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 * sizeo in vc4_get_hang_state_ioctl() [all...] |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A 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; 73 TP_printk("dev=%u, bin_cl_size=%u, shader_rec_size=%u, bo_count=%u", 77 __entry->bo_count)
|
H A 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 * sizeo in vc4_get_hang_state_ioctl() [all...] |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/v3d/ |
H A 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() 286 * @bo_count: Number of GEM handles passed in 300 u32 bo_count) in v3d_lookup_bos() 302 job->bo_count = bo_count; in v3d_lookup_bos() 304 if (!job->bo_count) { in v3d_lookup_bos() 314 job->bo_count, &job->bo); in v3d_lookup_bos() 324 for (i = 0; i < job->bo_count; in v3d_job_free() 296 v3d_lookup_bos(struct drm_device *dev, struct drm_file *file_priv, struct v3d_job *job, u64 bo_handles, u32 bo_count) v3d_lookup_bos() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
H A D | panfrost_job.c | 200 int bo_count, in panfrost_acquire_object_fences() 205 for (i = 0; i < bo_count; i++) in panfrost_acquire_object_fences() 210 int bo_count, in panfrost_attach_object_fences() 215 for (i = 0; i < bo_count; i++) in panfrost_attach_object_fences() 229 ret = drm_gem_lock_reservations(job->bos, job->bo_count, in panfrost_job_push() 246 panfrost_acquire_object_fences(job->bos, job->bo_count, in panfrost_job_push() 253 panfrost_attach_object_fences(job->bos, job->bo_count, in panfrost_job_push() 257 drm_gem_unlock_reservations(job->bos, job->bo_count, &acquire_ctx); in panfrost_job_push() 274 for (i = 0; i < job->bo_count; i++) in panfrost_job_cleanup() 282 for (i = 0; i < job->bo_count; in panfrost_job_cleanup() 199 panfrost_acquire_object_fences(struct drm_gem_object **bos, int bo_count, struct dma_fence **implicit_fences) panfrost_acquire_object_fences() argument 209 panfrost_attach_object_fences(struct drm_gem_object **bos, int bo_count, struct dma_fence *fence) panfrost_attach_object_fences() argument [all...] |
H A D | panfrost_drv.c | 144 job->bo_count = args->bo_handle_count; in panfrost_lookup_bos() 146 if (!job->bo_count) in panfrost_lookup_bos() 149 job->implicit_fences = kvmalloc_array(job->bo_count, in panfrost_lookup_bos() 157 job->bo_count, &job->bos); in panfrost_lookup_bos() 161 job->mappings = kvmalloc_array(job->bo_count, in panfrost_lookup_bos() 167 for (i = 0; i < job->bo_count; i++) { in panfrost_lookup_bos()
|
H A D | panfrost_job.h | 37 u32 bo_count; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/ |
H A D | panfrost_dump.c | 130 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()
|
H A D | panfrost_job.c | 245 int bo_count, in panfrost_acquire_object_fences() 250 for (i = 0; i < bo_count; i++) { in panfrost_acquire_object_fences() 266 int bo_count, in panfrost_attach_object_fences() 271 for (i = 0; i < bo_count; i++) in panfrost_attach_object_fences() 281 ret = drm_gem_lock_reservations(job->bos, job->bo_count, in panfrost_job_push() 291 ret = panfrost_acquire_object_fences(job->bos, job->bo_count, in panfrost_job_push() 304 panfrost_attach_object_fences(job->bos, job->bo_count, in panfrost_job_push() 308 drm_gem_unlock_reservations(job->bos, job->bo_count, &acquire_ctx); in panfrost_job_push() 323 for (i = 0; i < job->bo_count; i++) { in panfrost_job_cleanup() 334 for (i = 0; i < job->bo_count; in panfrost_job_cleanup() 244 panfrost_acquire_object_fences(struct drm_gem_object **bos, int bo_count, struct drm_sched_job *job) panfrost_acquire_object_fences() argument 265 panfrost_attach_object_fences(struct drm_gem_object **bos, int bo_count, struct dma_fence *fence) panfrost_attach_object_fences() argument [all...] |
H A D | panfrost_drv.c | 146 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()
|
H A D | panfrost_job.h | 31 u32 bo_count; member
|
/kernel/linux/linux-6.6/drivers/accel/ivpu/ |
H A D | ivpu_job.c | 265 for (i = 0; i < job->bo_count; i++) in job_release() 288 ivpu_create_job(struct ivpu_file_priv *file_priv, u32 engine_idx, u32 bo_count) in ivpu_create_job() argument 298 job = kzalloc(struct_size(job, bos, bo_count), GFP_KERNEL); in ivpu_create_job() 306 job->bo_count = bo_count; in ivpu_create_job()
|
H A D | ivpu_job.h | 53 size_t bo_count; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/ |
H A D | ttm_device.c | 106 atomic_set(&glob->bo_count, 0); in ttm_global_init() 109 &glob->bo_count); in ttm_global_init()
|
/kernel/linux/linux-6.6/include/drm/ttm/ |
H A D | ttm_device.h | 56 * @bo_count: Number of buffer objects allocated by devices. 58 atomic_t bo_count; member
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
H A D | vc4_drm.h | 300 __u32 bo_count; member
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
H A D | ttm_bo_driver.h | 295 atomic_t bo_count; member
|
/kernel/linux/linux-6.6/include/uapi/drm/ |
H A D | vc4_drm.h | 300 __u32 bo_count; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
H A D | vc4_drm.h | 134 __u32 bo_count; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/drm/ |
H A D | vc4_drm.h | 134 __u32 bo_count; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/ |
H A D | vc4_drm.h | 145 __u32 bo_count; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 57 .name = "bo_count", 94 atomic_read(&glob->bo_count)); in ttm_bo_global_show() 572 atomic_dec(&ttm_bo_glob.bo_count); in ttm_bo_release() 1202 atomic_inc(&ttm_bo_glob.bo_count); in ttm_bo_init_reserved() 1387 atomic_set(&glob->bo_count, 0); in ttm_bo_global_init()
|