drm_sched_jo...s_dependency(9)
π drm_sched_job_has_dependency β from the Kernel API Manual, bestie β¨
okay so real talk, this is a page straight out of the Kernel API Manual and it's lowkey a little one but it's iconic π
πΈ NAME πΈ
drm_sched_job_has_dependency β check whether fence is the job's dependency π¦
like, it's the vibe check that asks "is this fence in the job's dependency list or not" π
β¨ SYNOPSIS β¨
bool drm_sched_job_has_dependency (struct drm_sched_job *job , struct
dma_fence *fence );
yep that's the whole signature, no cap π
π«Ά ARGUMENTS π«Ά
jobβ the scheduler job we're checking, main character of this whole operation πfenceβ the fence we're looking for, like we're scrolling the dependency list going "where u at" π
β RETURN β
Returns True if fence is found within the job's dependencies β slay, it's in there π₯ β and false otherwise. That's it, that's the tea π
π SEE ALSO π
so here's the whole group chat, everybody who gets mentioned on this page:
- Kernel file
./drivers/gpu/drm/scheduler/sched_main.cOverview(9), Flow Control(9) sched_policy (int)(9)drm_sched_can_queue(9)drm_sched_run_job_queue(9)drm_sched_run_free_queue(9)drm_sched_job_done(9)drm_sched_job_done_cb(9)drm_sched_start_timeout(9)drm_sched_tdr_queue_imm(9)drm_sched_fault(9)drm_sched_suspend_timeout(9)drm_sched_resume_timeout(9)drm_sched_job_reinsert_on_false_timeout(9)drm_sched_stop(9)drm_sched_start(9)drm_sched_resubmit_jobs(9)drm_sched_job_init(9)drm_sched_job_arm(9)drm_sched_job_add_dependency(9)drm_sched_job_add_syncobj_dependency(9)drm_sched_job_add_resv_dependencies(9)drm_sched_job_add_implicit_dependencies(9)drm_sched_job_cleanup(9)drm_sched_wakeup(9)drm_sched_select_entity(9)drm_sched_get_finished_job(9)drm_sched_pick_best(9)drm_sched_free_job_work(9)drm_sched_run_job_work(9)drm_sched_init(9)drm_sched_fini(9)drm_sched_increase_karma(9)drm_sched_wqueue_ready(9)drm_sched_wqueue_stop(9)drm_sched_wqueue_start(9)drm_sched_is_stopped(9)drm_sched_job_is_signaled(9)
and that's the whole page bestie, ty for coming to my ted talk π this one lives over in ./drivers/gpu/drm/scheduler and the version tag says October 2026 β mwah, go check the dependencies, ily, bye π§ββοΈβ¨πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms