drm_sched_job_is_signaled(9)
π drm_sched_job_is_signaled(9) β like, the Kernel API Manual edition, bestie β¨
Okay so picture this: you're deep in the DRM scheduler, right, and you just need to know one tiny little thing β is this job signaled or not? That's literally it. That's the whole vibe of this page. Let's get into it π«Ά
β¨ NAME β¨
drm_sched_job_is_signaled β DRM scheduler job is signaled. Yes, the name spoils it a little. No, we're not mad at it π
π¦ SYNOPSIS π¦
bool drm_sched_job_is_signaled (struct drm_sched_job *job );
One function, one argument, returns a bool. Clean, simple, iconic. We love a low-maintenance signature π
π ARGUMENTS π
jobβ the DRM scheduler job. That's the one. The main character. The job we're doing a vibe check on πΈ
π DESCRIPTION π
So what this does is determine if a DRM scheduler job is signaled. Periodt. Simple question, simple answer.
But β and this is the part where you gotta listen, bestie β the DRM scheduler should be stopped to obtain a stable snapshot of state. Like, don't go asking this question while everything's in motion, okay? Stop the scheduler first, then peek. That's the whole rule π
And it's thorough too: both the parent fence (that's the hardware fence) and the finished fence (that's the software fence) are checked to determine the signaling state. Two fences, one answer. She's diligent, she's detail-oriented, she ate π
β RETURN β
trueif job is signaled π₯falseotherwise π
That's it. That's the return. Binary queen behavior, ngl.
π SEE ALSO π
Okay this is the part where the page just goes off, because there is a whole friend group here and we're naming every single one of them, fr fr. The Kernel file ./drivers/gpu/drm/scheduler/sched_main.c Overview(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_has_dependency(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)
Like I said. Whole friend group. Go say hi π§
Lowkey reminder before you go: stop the scheduler, then ask. Stable snapshot only, bestie. No cap π¨
And that's the page!! Sourced from ./drivers/gpu/drm/scheduler, dated October 2026 β mwah, sending you a little kiss, go read the rest of the scheduler docs, 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