drm_mock_sched_new(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:

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