dm_test_crtc..._source_none(9)
β¨ dm_test_crtc..._source_none(9) β¨
Okay bestie, so this one's from the Kernel API Manual, section 9 β yes, the section 9 of it all, we love a numbered chapter moment π . It's giving "tiny function, very specific job, absolutely iconic" energy. Let's get into it π«Ά
πΈ NAME πΈ
dm_test_crtc_configure_crc_source_none β the test that checks whether the CRC disable path actually, y'know, disables. No cap, that's the whole vibe π
π¦ SYNOPSIS π¦
void dm_test_crtc_configure_crc_source_none (struct kunit *test );
That's it. That's the whole signature. Returns nothing (void), takes exactly one thing, and it's a struct kunit *test. Clean, minimal, main character energy β¨
π ARGUMENTS π
testβ the KUnit test context, i.e. the little backpack of test-runner stuff this function carries around. It's the only thing you hand it. Give it yourtestand let it cook π
π DESCRIPTION π
Okay so picture this: the function is verifying that when the CRC source is set to NONE, the DC CRC capture gets disabled properly β and on top of that, that the default dither and dynamic expansion get restored to where they belong.
So basically: turn the capture off, put the settings back the way mama left them. Verified. Slay π₯
Not me being obsessed with a cleanup path β but honestly? A test that checks the restore actually happens is lowkey the most responsible thing in the whole file ππ
π§ SEE ALSO π§
The kernel file we're living in, for reference (iykyk):
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crc_test.c
And the whole squad of related tests β every single one, no skipping, fr fr:
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_set_crc_source_invalid(9)dm_test_crtc_set_crc_source_none_no_stream(9)dm_test_crtc_set_crc_source_none_commit(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)
Like, the entire friend group showed up to the group chat. We love a full roster π€©
π« Sign-off π«
This lil beauty lives under ./drivers/gpu/drm/amd/display/..., dated October 2026, and the manual page answers to the name dm_test_crtc..._source_none(9) β same as the title, because brand consistency is key π. Anyway bestie, go forth and disable some CRC sources responsibly. Mwah ππβ
π¦ 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