dm_test_crt..._none_commit(9)
π 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 π
dm_test_crtc_get_crc_sources(9)dm_test_crtc_verify_crc_source_valid(9)dm_test_crtc_verify_crc_source_invalid(9)dm_test_crtc_configure_crc_source_no_stream(9)dm_test_crtc_configure_crc_source_dprx(9)dm_test_crtc_configure_crc_source_dprx_dither(9)dm_test_crtc_configure_crc_source_crtc(9)dm_test_crtc_configure_crc_source_crtc_dcn36_poly(9)dm_test_crtc_configure_crc_source_crtc_configure_fails(9)dm_test_crtc_configure_crc_source_none(9)dm_test_crtc_set_crc_source_invalid(9)dm_test_crtc_set_crc_source_none_no_stream(9)dm_test_crtc_set_crc_source_dprx_no_connector(9)dm_test_crtc_handle_crc_irq_early_returns(9)dm_test_crtc_handle_crc_irq_disabled_source(9)dm_test_crtc_handle_crc_irq_skips_initial_frames(9)dm_test_crtc_handle_crc_irq_dprx_after_skip(9)dm_test_crtc_handle_crc_irq_get_crc_fails(9)dm_test_need_dp_aux(9)dm_test_crc_source_should_start_dprx(9)dm_test_crc_source_should_stop_dprx(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms