drm_sched_job_is_signaled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 ⭐

  • true if job is signaled πŸ”₯
  • false otherwise πŸ’€

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