dm_test_crtc..._queues_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to dm_test_crtc_enable_vblank_queues_work(9) from the Kernel API Manual πŸ’– this is your little guide to the test that says β€œTest enable queues vblank control work” β€” and yes, it’s giving main character test energy ✨

🌸 NAME 🌸

  • dm_test_crtc_enable_vblank_queues_work β€” Test enable queues vblank control work.

πŸŽ€ SYNOPSIS πŸŽ€

void dm_test_crtc_enable_vblank_queues_work (struct kunit *test );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” The KUnit test context.

πŸ’… DESCRIPTION πŸ’…

okay so here’s the vibe: with a vblank control workqueue installed, the enable path allocates a work item, retains the stream, and queues the control worker 🫢

Draining the queue runs the worker, which bumps the active vblank IRQ count. The initial ISM state has no EXIT_IDLE_REQUESTED transition, so the worker only exercises the vblank accounting β€” the ISM state machine is covered by its own tests. no cap, that’s the whole little story πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Kernel file first, because receipts are iconic:

  • Kernel file: ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c

and these functions are all part of the same SEE ALSO group chat, fr fr:


cute sign-off time: source/version is ./drivers/gpu/drm/amd/display/..., date is October 2026, and the page tag is dm_test_crtc..._queues_work(9) β€” periodt πŸ’œ

πŸ“¦ where this page comes from