dm_test_crtc...source_valid(9)
β¨ dm_test_crtc_verify_crc_source_valid β from the Kernel API Manual (9) section, bestie β¨
Okay so this is a page straight out of the Kernel API Manual, section 9 β yes the test/API one β and the star of the show is dm_test_crtc_verify_crc_source_valid. She's a KUnit test function, she's in the AMD display driver's corner of the kernel, and she has one very specific job. Let's get into it π
πΈ NAME πΈ
dm_test_crtc_verify_crc_source_valid β literally just testing that valid CRC source verification works the way it's supposed to π
π¦ SYNOPSIS π¦
void dm_test_crtc_verify_crc_source_valid (struct kunit *test );
π ARGUMENTS π
testβ the KUnit test context, aka the little bubble this test runs inside π«Ά
π§ DESCRIPTION π§
So here's the vibe: this test verifies that valid source strings come back as success, and that they request three CRC values. That's it, that's the whole assignment. Three CRC values, success, no drama β¨
No cap, it's a small test but she's doing her part. Valid sources get the green checkmark, and the count lands on three. Periodt π
π SEE ALSO π
The kernel file this lives in, for when you want to go read the source yourself (iconic behaviour, honestly):
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crc_test.c
And the whole friend group of related tests β she does not exist in isolation, bestie, look at this roster π₯
dm_test_crtc_get_crc_sources(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_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)
And that's the whole page, babes π Quick sign-off so you have the receipts: this one comes from ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's filed under dm_test_crtc...source_valid(9). Go forth and test those CRC sources ππ
π¦ 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