dm_test_crtc...figure_fails(9)
β¨ dm_test_crtc_configure_crc_source_crtc_configure_fails(9) β¨
okay so bestie, welcome to the kernel API manual for dm_test_crtc_configure_crc_source_crtc_configure_fails β yes that's the whole name, no I'm not shortening it, it's iconic and it ate π
πΈ NAME πΈ
dm_test_crtc_configure_crc_source_crtc_configure_fails β literally a test for the failure path. that's it, that's the vibe π«Ά
π SYNOPSIS π
void dm_test_crtc_configure_crc_source_crtc_configure_fails (struct kunit *test );
π¦ ARGUMENTS π¦
testβ the KUnit test context, aka the little backstage pass this test gets handed so it can do its thing β¨
π DESCRIPTION π
so what does this test actually do? it verifies that a DC CRC configuration failure gets reported as -EINVAL β and that it stops before dither/dynamic expansion programming. no cap, it's checking that the failure bails out cleanly instead of justβ¦ continuing on and programming stuff it shouldn't π periodt.
like, the whole point is: when config fails, report -EINVAL and stop. don't keep going. that's the assignment and it understood it π₯
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crc_test.c 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_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, bestie π this lil blessing dropped from ./drivers/gpu/drm/amd/display/... in October 2026 β go read the source file, it's giving main character energy fr fr πβ
π¦ 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