Searched refs:sched_job (Results 1 – 8 of 8) sorted by relevance
/openbsd/sys/dev/pci/drm/scheduler/ |
H A D | gpu_scheduler_trace.h | 37 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 …]
|
H A D | sched_entity.c | 33 #define to_drm_sched_job(sched_job) \ argument 34 container_of((sched_job), struct drm_sched_job, queue_node) 472 struct drm_sched_job *sched_job; local 475 if (!sched_job) 479 drm_sched_job_dependency(sched_job, entity))) { 492 dma_fence_get(&sched_job->s_fence->finished)); 519 sched_job->entity = NULL; 521 return sched_job; 578 struct drm_sched_entity *entity = sched_job->entity; 582 trace_drm_sched_job(sched_job, entity); [all …]
|
H A D | sched_main.c | 69 #define to_drm_sched_job(sched_job) \ argument 1023 struct drm_sched_job *sched_job; in drm_sched_main() local 1039 sched_job = drm_sched_entity_pop_job(entity); in drm_sched_main() 1041 if (!sched_job) { in drm_sched_main() 1046 s_fence = sched_job->s_fence; in drm_sched_main() 1049 drm_sched_job_begin(sched_job); in drm_sched_main() 1051 trace_drm_run_job(sched_job, entity); in drm_sched_main() 1052 fence = sched->ops->run_job(sched_job); in drm_sched_main() 1060 r = dma_fence_add_callback(fence, &sched_job->cb, in drm_sched_main() 1063 drm_sched_job_done(sched_job, fence->error); in drm_sched_main() [all …]
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | amdgpu_job.c | 253 amdgpu_job_prepare_job(struct drm_sched_job *sched_job, in amdgpu_job_prepare_job() argument 257 struct amdgpu_job *job = to_amdgpu_job(sched_job); in amdgpu_job_prepare_job() 283 static struct dma_fence *amdgpu_job_run(struct drm_sched_job *sched_job) in amdgpu_job_run() argument 285 struct amdgpu_ring *ring = to_amdgpu_ring(sched_job->sched); in amdgpu_job_run() 291 job = to_amdgpu_job(sched_job); in amdgpu_job_run() 320 #define to_drm_sched_job(sched_job) \ argument 321 container_of((sched_job), struct drm_sched_job, queue_node)
|
H A D | amdgpu_job.h | 39 #define to_amdgpu_job(sched_job) \ argument 40 container_of((sched_job), struct amdgpu_job, base)
|
H A D | amdgpu_trace.h | 518 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;
|
/openbsd/sys/dev/pci/drm/include/drm/ |
H A D | gpu_scheduler.h | 409 struct dma_fence *(*prepare_job)(struct drm_sched_job *sched_job, 418 struct dma_fence *(*run_job)(struct drm_sched_job *sched_job); 462 enum drm_gpu_sched_stat (*timedout_job)(struct drm_sched_job *sched_job); 468 void (*free_job)(struct drm_sched_job *sched_job); 587 void drm_sched_entity_push_job(struct drm_sched_job *sched_job);
|
/openbsd/usr.sbin/amd/amd/ |
H A D | sched.c | 88 sched_job(cb_fun cf, void *ca) in sched_job() function 106 pjob *p = sched_job(cf, ca); in run_task() 134 pjob *p = sched_job(cf, ca); in sched_task()
|