dm_test_vbla...e_decrements(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

dm_test_vbla...e_decrements(9) πŸ’…βœ¨

okay so this is a page from the Kernel API Manual, section 9, and it's about one very specific little KUnit test. yes bestie, we're getting that granular. she's niche, she's real, and she's here πŸŽ€


🌸 NAME 🌸

dm_test_vblank_control_worker_disable_decrements β€” the test that checks whether disabling drops the IRQ count. no cap, that's the whole vibe check.


✨ SYNOPSIS ✨

void dm_test_vblank_control_worker_disable_decrements (struct kunit
*test );

🫢 ARGUMENTS 🫢

  • test β€” the KUnit test context. that's it, that's the argument. she needs her context to function, honestly relatable πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

so the whole point: when you run the worker with enable clear, it must decrement a non-zero active vblank IRQ count. like, the count is sitting there at some non-zero number, the worker runs with enable clear, and boom β€” it goes down by one. that's the entire test. and if it doesn't? the test notices. 😭

fr fr, don't skip this one β€” "must decrement" is not a suggestion, it's the assertion.

πŸ”₯ SEE ALSO πŸ”₯

πŸ¦‹ Kernel file

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

πŸ‘‘ all the sibling tests (yes, all of them, we don't do half-lists here)


okay that's the whole page, you're officially educated πŸ§šπŸ’– one last thing β€” the source/version line on the way out reads ./drivers/gpu/drm/amd/display/... with a date of October 2026, so like, yes, this manual is from the future and she's still iconic. periodt. 🌈⭐

πŸ“¦ where this page comes from