dm_test_crt...unconfigured(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_crt...unconfigured β€” Kernel API Manual ✨

okay so bestie, buckle in, because we're about to get into dm_test_crtc_enable_vblank_rejects_unconfigured, which is a KUnit test from the Kernel API Manual and honestly it's giving very specific, very iconic energy πŸŽ€


🌸 NAME 🌸

dm_test_crtc_enable_vblank_rejects_unconfigured β€” literally the test that checks enabling vblank on a disabled CRTC gets told no πŸ’€


✨ SYNOPSIS ✨

void dm_test_crtc_enable_vblank_rejects_unconfigured (struct kunit *test );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the KUnit test context, i.e. the little bubble of test-world this function lives in 🫢

πŸ’œ DESCRIPTION πŸ’œ

so here's the vibe: if you try to enable vblank on a CRTC that is not enabled, that request must be rejected with -EINVAL β€” and it has to happen before any interrupt state is touched. No cap, that ordering is the whole point. Not a single piece of interrupt state gets poked if the CRTC isn't configured πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c, plus the whole squad of sibling tests β€” yes, all of them, they're all invited to the group chat πŸ’–


and that's the whole page, bestie β€” no crumbs left πŸ’… this one ships from ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's filed under the dm_test_crt...unconfigured(9) header up top. slay, go write some tests 🧚⭐

πŸ“¦ where this page comes from