dm_test_crt...tc_irq_error(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_crtc_enable_vblank_crtc_irq_error(9) β€” like, the Kernel API Manual one, bestie ✨

okay so welcome to section 9 of the Kernel API Manual, the one and only dm_test_crtc_enable_vblank_crtc_irq_error(9) πŸŽ€ β€” yes the page title got squished down to dm_test_crt...tc_irq_error(9) in the header because terminals are haters, but you and me both know the full name, and she is iconic.


✨ NAME ✨

dm_test_crtc_enable_vblank_crtc_irq_error β€” the test that proves a crtc IRQ failure aborts the enable. like, it will NOT let enable slide through, periodt πŸ’…


🌸 SYNOPSIS 🌸

void dm_test_crtc_enable_vblank_crtc_irq_error (struct kunit *test );

that's it. one function, one argument, zero drama (well, the test itself is the drama, but you know what I mean 🫢).


πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” The KUnit test context. it's the little world this test lives in, hand it over and let her cook πŸ“

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the vibe: on a non-VRR DC, the vupdate-irq branch is skipped. like, not invited to the party, mmkay πŸ™ˆ.

and then β€” and this is the main character moment β€” with the IRQ subsystem uninstalled, amdgpu_irq_get on the crtc IRQ returns -ENOENT 😭. and the enable path must propagate it before it touches the pageflip IRQ. like, it has to carry that error up the chain, no quietly ignoring it, no swallowing it, none of that πŸ’€.

so the whole point of this test: does the enable path yeet that -ENOENT back out before it even thinks about touching the pageflip IRQ? that's the test. that's the girl. slay πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file

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

and now the friend group, aka literally every sibling test in the file β€” go say hi to all of them, they all live in the same .c and they all have opinions 🧚:

(yes that's all of them, i counted, don't come for me 🫢)


ngl the source path gets cut off in the footer, it's giving "we ran out of screen width", but that's just how the footer do πŸ’€

okayyy that's the page, bestie!! 🌈 this whole thing ships from ./drivers/gpu/drm/amd/display/... and the date on it is October 2026 πŸ“… β€” and the footer still calls her dm_test_crt...tc_irq_error(9), which, honestly? she's earned that nickname. mwah πŸ’‹βœ¨πŸ¦‹

πŸ“¦ where this page comes from