dm_test_crt..._queues_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_crt..._queues_work(9) β€” Kernel API Manual, bestie edition ✨

okay so welcome to the Kernel API Manual entry for dm_test_crt..._queues_work(9) β€” yes that's the truncated-spicy version of dm_test_crtc_disable_vblank_queues_work, the shell just couldn't fit the whole name, she's doing her best 🫢


🌸 NAME 🌸

dm_test_crtc_disable_vblank_queues_work β€” literally the test for "disable queues work without a stream". no stream, no problem, the work still gets queued. iconic behaviour tbh πŸ’…


✨ SYNOPSIS ✨

void dm_test_crtc_disable_vblank_queues_work (struct kunit *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context, aka the little backstage pass that tells the test framework who she is. that's it. that's the whole argument. queen of minimalism πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: there's a vblank control workqueue installed, right, and a CRTC state that is carrying no stream at all. empty handed. nothing. and when the disable path runs, it queues the control worker anyway β€” without retaining a stream. no stream retained, no strings attached, she just queues it πŸ’–

then you drain the queue and the worker actually runs, and what does it do? it drops the active vblank IRQ count. that's the whole vibe check right there ✨

and the ISM? it's seeded in a state with no ENTER_IDLE_REQUESTED transition β€” on purpose, periodt β€” so that the worker only exercises the vblank accounting and doesn't go wandering off into other logic. keep it focused, keep it cute 🌸


πŸ‘‘ SEE ALSO πŸ‘‘

πŸ“ Kernel file

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

πŸ’œ the whole friend group (all the sibling tests, no cap)


πŸ’€ real talk: that's the entire cross-reference list, all 56 of them, nothing skipped, nothing merged. go read them all, i'll wait. iykyk πŸ“

and that's the page!! fr fr this one shipped from ./drivers/gpu/drm/amd/display/... back in October 2026, filed under dm_test_crt..._queues_work(9) because the terminal was like "that name is too long bestie" 😭 anyways ily, go write tests, mwah πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from