dm_test_crtc..._irq_dc_busy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_crtc..._irq_dc_busy(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this is a lil page about one (1) KUnit test function in the amdgpu display crew, and honestly it's giving "small but important". let's get into it 🫢


🌸 NAME 🌸

dm_test_crtc_set_vupdate_irq_dc_busy β€” the test that checks what happens to the vupdate irq when DC is like "no ty, request rejected" πŸ™…β€β™€οΈ


✨ SYNOPSIS ✨

void dm_test_crtc_set_vupdate_irq_dc_busy (struct kunit *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context πŸ’– that's the whole argument list, she's low maintenance

πŸ¦‹ DESCRIPTION πŸ¦‹

so picture this πŸ‘€ β€” you've got an OTG instance assigned, right? but there's no DC attached. in that exact situation, amdgpu_dm_irq_set returns false, and the function has to report the request as busy (-EBUSY). no cap, that's the whole vibe check this test is running πŸ”₯

basically: no DC = not available = busy signal, and this test makes sure the code actually says so πŸ’…


πŸ’œ SEE ALSO πŸ’œ

the kernel file lives right here:

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

and here's the whole friend group 🫢 (yes, all of them, i'm not skipping a single one):


and that's the page, bestie πŸŽ€ mwah πŸ’‹

source path: ./drivers/gpu/drm/amd/display/... Β· dated: October 2026 Β· dm_test_crtc..._irq_dc_busy(9) β€” go forth and test those irqs, ily πŸ’–πŸŒΈ

πŸ“¦ where this page comes from