dm_test_crtc...rq_installed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

ok so bestie, gather round β€” this is dm_test_crtc_disable_vblank_no_irq_installed, and it lives in section 9 of the Kernel API Manual. What does it do? It's the test for disable with IRQ uninstalled. That's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

void dm_test_crtc_disable_vblank_no_irq_installed (struct kunit *test );

like, that's it. one function. she's small but she's doing her job. 🫢


🌸 ARGUMENTS 🌸

  • test β€” the KUnit test context, aka her little backstage pass. that's the only thing she takes. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: when you go to disable vblank, it walks down amdgpu_dm_crtc_set_vblank's disable path. that's the journey. πŸšΆβ€β™€οΈ

but here's the twist β€” the IRQ subsystem is not installed. so amdgpu_irq_put just returns early, immediately, no drama. which means the whole routine finishes up without ever touching the vblank workqueue or the active IRQ count. literally never touches them. not once. ngl that's kind of iconic of her. ✨

no cap, the early return is the entire plot. amdgpu_irq_put bails, the workqueue and the active IRQ count stay untouched, and the test just confirms the routine completes. periodt. πŸ’…

πŸ’œ SEE ALSO πŸ’œ

first up, the kernel file she actually lives in β€” go say hi:

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

and now, the whole extended friend group. this is a long list bestie, but every single one of them matters:

like… she really said "you're gonna meet my whole friend group" and meant it. πŸ˜­πŸ’–


πŸ’« and that's the page, bestie πŸ’«

this lil legend comes from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” so yeah, mark your calendar, she's from the future. πŸ—“οΈβœ¨ mwah, go write some tests πŸ’…πŸŽ€

πŸ“¦ where this page comes from