drm_mock_sched_new(9)
okay bestie, say hi to drm_mock_sched_new(9) from the Kernel API Manual β she creates a brand-new mock scheduler and is literally giving test-helper main character energy β¨
π NAME π
drm_mock_sched_new β Create a new mock scheduler. That's the whole vibe π
β¨ SYNOPSIS β¨
struct drm_mock_scheduler * drm_mock_sched_new (struct kunit *test ,
long timeout );
π«Ά ARGUMENTS π«Ά
testβ the KUnit test owning the job. She's the one holding the clipboard, fr fr πtimeoutβ the job timeout to set. Just plop the timeout value right in here β±οΈ
π RETURN π
A new mock scheduler, with allocation managed by the test. Slay, that's the whole return π
π¦ SEE ALSO π¦
Kernel file: ./drivers/gpu/drm/scheduler/tests/mock_scheduler.c
Also bestie-check out these icons:
drm_mock_sched_entity_new(9)drm_mock_sched_entity_free(9)drm_mock_sched_job_new(9)drm_mock_sched_fini(9)drm_mock_sched_advance(9)
mwah π β source/version lives at ./drivers/gpu/drm/scheduler/tests, dated October 2026, and this page is drm_mock_sched_new(9). byeee β¨
π¦ 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