dm_test_vbl...worker_setup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_vblank_control_worker_setup β€” from the Kernel API Manual, bestie ✨

okay so real quick before we dive in: this page lives in the Kernel API Manual, and the star of the show is dm_test_vblank_control_worker_setup. say it with me. it's a mouthful but we're gonna slay it πŸŽ€


✨ NAME ✨

dm_test_vblank_control_worker_setup β€” builds a vblank_control_work for the worker, that's literally the whole job πŸ’–


🌸 SYNOPSIS 🌸

struct vblank_control_work * dm_test_vblank_control_worker_setup (struct
kunit *test , bool enable , uint32_t count );

look at her go 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the KUnit test context. yeah, the whole test vibe lives in here ✨
  • enable β€” the value that gets dropped into vblank_work->enable. simple as that πŸ’…
  • count β€” the initial dm->active_vblank_irq_count. like, its starting number, no cap πŸ”’

πŸ‘‘ DESCRIPTION πŸ‘‘

so what does she actually do? she returns a work item, and that work item is wired up to a freshly allocated adev/crtc/stream combo β€” brand new, never been used, main character energy only 🌟

here's the lil detail that matters: the CRTC is left without an atomic state. on purpose. iconic. and because of that, amdgpu_dm_ism_commit_event short-circuits, which means only the vblank IRQ accounting inside the worker actually runs. nothing else. she's focused πŸ’€βœ¨


πŸ”₯ SEE ALSO πŸ”₯

πŸ“ Kernel file

./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c

like I said. the whole group chat 🌈


ngl this page is short but she's important β€” dm_test_vblank_control_worker_setup is the setup half of the vblank-control test trio, and her friends are right up there ⬆️

and that's the tea, bestie πŸ“ this page came out of ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” so yeah, she's from the future, we stan a forward-thinking icon πŸ’œπŸ‘‘ periodt.

πŸ“¦ where this page comes from