dm_test_irq...valid_source(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

dm_test_irq_register_rejects_invalid_source β€” bestie, this is the test that checks register rejects a bad source πŸš«πŸ’…

okay so quick vibe check first: we're deep in the Kernel API Manual for dm_test_irq...valid_source(9), and this page is about one (1) very specific little KUnit test. she's small but she matters πŸŽ€


🌸 SYNOPSIS 🌸

void dm_test_irq_register_rejects_invalid_source (struct kunit *test );

that's it. that's the whole signature. no cap ✨


πŸ’… ARGUMENTS πŸ’…

  • test β€” the KUnit test context 🧚 like, the little world this test lives inside. you don't make it, it gets handed to you, and you just vibe with it.

πŸ¦‹ SEE ALSO πŸ¦‹

okay this part is lowkey iconic β€” it's the whole friend group πŸ˜­πŸ’– there are so many of them and they all live in the same neighborhood:

the kernel file (yes, she's just listed right there):

  • ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_irq_test.c πŸ“

the hpd β†’ dal irq source girlies:

the "are sinks equal" squad:

the notification str crew:

the irq register / unregister / fini fam (our girl's home turf 🏠):

the crtc-by-otg-inst lookups:

the suspend / resume era:

the hpd rx irq workqueue besties:

irq state setting (so many states, so little time):

the immediate / scheduled work girlies:

the null_dc checks (she said "no dc, no problem"):

the hpd init / fini crowd:

hpd rx offload work gang:

the debounce + hpd irq handler squad:

the dmub hpd callback clique:

the register hpd handlers crew:

the high irq girlies:

hpd work + dmub outbox1 low irq:

the big register-irq-handlers energy:

and the last two, saving the best for last 🫢:


πŸŽ€ friendly reminder: this page only tells you what the test is called and what it takes. she doesn't spill the details of the assertions here, so don't go making stuff up about what she checks beyond "register rejects invalid source". iykyk ✨

so yeah, that's the whole page, bestie. short and slay πŸ’… this was pulled from ./drivers/gpu/drm/amd/display/... and dated October 2026 β€” like, future much? πŸ”₯ anyway, go read the linked tests, they're the main character energy of this whole file πŸŒˆπŸ’–

πŸ“¦ where this page comes from