drm_mock_sch...ait_finished(9)
π drm_mock_sch...ait_finished(9) β the glam edition
Okay so bestie, we're in the Kernel API Manual, section 9 (that's the kernel internals one, iykyk), and the page header is stylin' as drm_mock_sch...ait_finished(9) β yes it's truncated with ellipsis, no I didn't do that, that's just the vibe the page came with. π
β¨ NAME β¨
drm_mock_sched_job_wait_finished β literally just waits until a job is finished. That's it. That's the whole personality. β³
β¨ SYNOPSIS β¨
bool drm_mock_sched_job_wait_finished (struct drm_mock_sched_job *job ,
long timeout );
She returns a bool, she takes two things, and she's not complicated about it. π«Ά
β¨ ARGUMENTS β¨
jobβ the job you're waiting for. The main character of this lil operation. πtimeoutβ how long you're willing to wait, measured in jiffies. Not seconds, not vibes β jiffies. Don't come crying to me when your math is off. π
β¨ RETURN β¨
Returns true if it's finished within the timeout you provided. Otherwise? false. That's the entire tea. π
No cap β if it times out, you getfalse, not an error, not a tantrum, justfalse. Plan accordingly bestie.
β¨ SEE ALSO β¨
Lowkey the whole friend group is linked here, so let's go:
- Kernel file
./drivers/gpu/drm/scheduler/tests/sched_tests.h struct drm_mock_scheduler(9)struct drm_mock_sched_entity(9)struct drm_mock_sched_job(9)drm_mock_sched_job_submit(9)drm_mock_sched_job_set_duration_us(9)drm_mock_sched_job_is_finished(9)drm_mock_sched_job_wait_scheduled(9)
All of these are literally in ./drivers/gpu/drm/scheduler/tests if you wanna snoop. π₯
And that's the page, bestie β brought to you by ./drivers/gpu/drm/scheduler/tests, dated October 2026, filed under drm_mock_sch...ait_finished(9). Slay, go read the source, 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