Home
last modified time | relevance | path

Searched refs:sched_job (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/v3d/
A Dv3d_sched.c28 to_v3d_job(struct drm_sched_job *sched_job) in to_v3d_job() argument
34 to_bin_job(struct drm_sched_job *sched_job) in to_bin_job() argument
40 to_render_job(struct drm_sched_job *sched_job) in to_render_job() argument
46 to_tfu_job(struct drm_sched_job *sched_job) in to_tfu_job() argument
52 to_csd_job(struct drm_sched_job *sched_job) in to_csd_job() argument
60 struct v3d_job *job = to_v3d_job(sched_job); in v3d_sched_job_free()
247 struct v3d_job *job = to_v3d_job(sched_job); in v3d_cache_clean_job_run()
266 if (sched_job) in v3d_gpu_reset_for_timeout()
267 drm_sched_increase_karma(sched_job); in v3d_gpu_reset_for_timeout()
294 struct v3d_job *job = to_v3d_job(sched_job); in v3d_cl_job_timedout()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/scheduler/
A Dgpu_scheduler_trace.h37 TP_ARGS(sched_job, entity),
41 __string(name, sched_job->sched->name)
49 __entry->id = sched_job->id;
51 __assign_str(name, sched_job->sched->name);
54 &sched_job->sched->hw_rq_count);
64 TP_ARGS(sched_job, entity)
69 TP_ARGS(sched_job, entity)
87 TP_ARGS(sched_job, fence),
89 __string(name, sched_job->sched->name)
97 __assign_str(name, sched_job->sched->name);
[all …]
A Dsched_entity.c33 #define to_drm_sched_job(sched_job) \ argument
34 container_of((sched_job), struct drm_sched_job, queue_node)
408 struct drm_sched_job *sched_job; in drm_sched_entity_pop_job() local
411 if (!sched_job) in drm_sched_entity_pop_job()
415 drm_sched_job_dependency(sched_job, entity))) { in drm_sched_entity_pop_job()
416 trace_drm_sched_job_wait_dep(sched_job, entity->dependency); in drm_sched_entity_pop_job()
451 return sched_job; in drm_sched_entity_pop_job()
508 struct drm_sched_entity *entity = sched_job->entity; in drm_sched_entity_push_job()
511 trace_drm_sched_job(sched_job, entity); in drm_sched_entity_push_job()
515 sched_job->submit_ts = ktime_get(); in drm_sched_entity_push_job()
[all …]
A Dsched_main.c62 #define to_drm_sched_job(sched_job) \ argument
988 struct drm_sched_job *sched_job; in drm_sched_main() local
1004 sched_job = drm_sched_entity_pop_job(entity); in drm_sched_main()
1006 if (!sched_job) { in drm_sched_main()
1011 s_fence = sched_job->s_fence; in drm_sched_main()
1014 drm_sched_job_begin(sched_job); in drm_sched_main()
1016 trace_drm_run_job(sched_job, entity); in drm_sched_main()
1017 fence = sched->ops->run_job(sched_job); in drm_sched_main()
1026 r = dma_fence_add_callback(fence, &sched_job->cb, in drm_sched_main()
1029 drm_sched_job_done(sched_job); in drm_sched_main()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/etnaviv/
A Detnaviv_sched.c22 struct etnaviv_gem_submit *submit = to_etnaviv_submit(sched_job); in etnaviv_sched_run_job()
25 if (likely(!sched_job->s_fence->finished.error)) in etnaviv_sched_run_job()
34 *sched_job) in etnaviv_sched_timedout_job()
36 struct etnaviv_gem_submit *submit = to_etnaviv_submit(sched_job); in etnaviv_sched_timedout_job()
42 drm_sched_stop(&gpu->sched, sched_job); in etnaviv_sched_timedout_job()
65 if(sched_job) in etnaviv_sched_timedout_job()
66 drm_sched_increase_karma(sched_job); in etnaviv_sched_timedout_job()
87 drm_sched_job_cleanup(sched_job); in etnaviv_sched_free_job()
110 drm_sched_job_arm(&submit->sched_job); in etnaviv_sched_push_job()
117 drm_sched_job_cleanup(&submit->sched_job); in etnaviv_sched_push_job()
[all …]
A Detnaviv_sched.h14 struct etnaviv_gem_submit *to_etnaviv_submit(struct drm_sched_job *sched_job) in to_etnaviv_submit() argument
16 return container_of(sched_job, struct etnaviv_gem_submit, sched_job); in to_etnaviv_submit()
A Detnaviv_gem_submit.c189 ret = drm_sched_job_add_implicit_dependencies(&submit->sched_job, in submit_fence_sync()
539 ret = drm_sched_job_init(&submit->sched_job, in etnaviv_ioctl_gem_submit()
563 ret = drm_sched_job_add_dependency(&submit->sched_job, in etnaviv_ioctl_gem_submit()
623 drm_sched_job_cleanup(&submit->sched_job); in etnaviv_ioctl_gem_submit()
A Detnaviv_gem.h90 struct drm_sched_job sched_job; member
/linux-6.3-rc2/include/drm/
A Dgpu_scheduler.h396 struct dma_fence *(*prepare_job)(struct drm_sched_job *sched_job,
405 struct dma_fence *(*run_job)(struct drm_sched_job *sched_job);
449 enum drm_gpu_sched_stat (*timedout_job)(struct drm_sched_job *sched_job);
455 void (*free_job)(struct drm_sched_job *sched_job);
566 void drm_sched_entity_push_job(struct drm_sched_job *sched_job);
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_job.c251 amdgpu_job_prepare_job(struct drm_sched_job *sched_job, in amdgpu_job_prepare_job() argument
255 struct amdgpu_job *job = to_amdgpu_job(sched_job); in amdgpu_job_prepare_job()
271 static struct dma_fence *amdgpu_job_run(struct drm_sched_job *sched_job) in amdgpu_job_run() argument
273 struct amdgpu_ring *ring = to_amdgpu_ring(sched_job->sched); in amdgpu_job_run()
279 job = to_amdgpu_job(sched_job); in amdgpu_job_run()
305 #define to_drm_sched_job(sched_job) \ argument
306 container_of((sched_job), struct drm_sched_job, queue_node)
A Damdgpu_job.h39 #define to_amdgpu_job(sched_job) \ argument
40 container_of((sched_job), struct amdgpu_job, base)
A Damdgpu_trace.h518 TP_PROTO(struct amdgpu_job *sched_job, struct dma_fence *fence),
519 TP_ARGS(sched_job, fence),
521 __string(ring, sched_job->base.sched->name)
529 __assign_str(ring, sched_job->base.sched->name);
530 __entry->id = sched_job->base.id;
/linux-6.3-rc2/drivers/gpu/drm/panfrost/
A Dpanfrost_job.c43 to_panfrost_job(struct drm_sched_job *sched_job) in to_panfrost_job() argument
45 return container_of(sched_job, struct panfrost_job, base); in to_panfrost_job()
348 static void panfrost_job_free(struct drm_sched_job *sched_job) in panfrost_job_free() argument
350 struct panfrost_job *job = to_panfrost_job(sched_job); in panfrost_job_free()
352 drm_sched_job_cleanup(sched_job); in panfrost_job_free()
357 static struct dma_fence *panfrost_job_run(struct drm_sched_job *sched_job) in panfrost_job_run() argument
359 struct panfrost_job *job = to_panfrost_job(sched_job); in panfrost_job_run()
710 *sched_job) in panfrost_job_timedout()
712 struct panfrost_job *job = to_panfrost_job(sched_job); in panfrost_job_timedout()
729 sched_job); in panfrost_job_timedout()
[all …]

Completed in 18 milliseconds