STRUCT DRM_MOCK_SCHED_ENTITY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the struct drm_mock_sched_entity(9) page from the Kernel API Manual! This one is literally struct drm_mock_sched_entity β€” implements a mock GPU sched entity. periodt. πŸ’…

🌸 SYNOPSIS 🌸

Here's the whole struct, no cap:

struct drm_mock_sched_entity {
    struct drm_sched_entity base;
    struct kunit            *test;
 };

πŸ‘‘ Members πŸ‘‘

  • base β€” DRM scheduler entity base class. iconic foundation vibes.
  • test β€” Backpointer to owning the kunit test case. it knows its test bestie fr fr.

πŸ’… Description πŸ’…

The mock GPU sched entity is used by the test cases to submit jobs to the mock scheduler. that's the whole job, and it ate. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/gpu/drm/scheduler/tests/sched_tests.h and these absolute icons:


πŸ’– okay that's the page! source/version marker: ./drivers/gpu/drm/scheduler/tests; date: October 2026; signed struct drm_m...sched_entity(9). bye bestie, go submit some mock jobs! 🫢

πŸ“¦ where this page comes from