dm_test_crt..._none_commit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_crt..._none_commit(9) ✨

okay so bestie, welcome to the Kernel API Manual, section 9 β€” yes we're in the big-kid kernel docs now, and this one is a whole little KUnit test with main character energy πŸŽ€


🌸 NAME 🌸

dm_test_crtc_set_crc_source_none_commit β€” the test that sets a CRC source while a commit is still pending, and honestly? it slays 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_crtc_set_crc_source_none_commit (struct kunit *test );

πŸ’– ARGUMENTS πŸ’–

  • test β€” the KUnit test context, aka the little backpack this test carries its whole world in πŸŽ’βœ¨

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the vibe check πŸ‘‡ this one verifies that a pending CRTC commit is acquired and then waited on β€” and ngl, in this case it's already completed, so the wait just returns immediately, no suspense, no cliffhanger, we love a zero-effort wait 😌 β€” and then it gets released during cleanup. Gotta return what you borrow, periodt πŸ’…

And the configuration? Still deferred, bestie. Why? Because no stream is attached. That's it, that's the reason. No stream, no config, no cap 🧚


🌈 SEE ALSO 🌈

Kernel file:

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

and the entire friend group of sibling tests, all of them iconic, all of them linked πŸ‘‡


fr fr, if you only remember one thing: pending commit gets acquired, waited on (instantly, bless), released in cleanup, and config stays deferred because there's no stream. that's the whole tea β˜•πŸ’€

and that's a wrap, bestie β€” this page came from the source path ./drivers/gpu/drm/amd/display/... and it's dated October 2026, so like… future era energy πŸ¦‹β­ love that for us. bye pookie, go read the other crc tests πŸ’œπŸŽ€

πŸ“¦ where this page comes from