dm_test_crc_...d_start_dprx(9)
π dm_test_crc_source_should_start_dprx β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual β this page is literally all about dm_test_crc_...d_start_dprx(9) (yes the title is doing the absolute most with that truncation, we love her anyway π). Buckle up, it's a KUnit test and she's precious.
β¨ NAME β¨
dm_test_crc_source_should_start_dprx β the test that checks up on dm_crc_source_should_start_dprx(). it's giving "responsible friend verifying you actually did the thing" π«Ά
πΈ SYNOPSIS πΈ
void dm_test_crc_source_should_start_dprx (struct kunit *test );
π¦ ARGUMENTS π¦
testβ the KUnit test context. that's it, that's the whole argument. she's low-maintenance π
π DESCRIPTION π
so what does this test actually do? okay so β it verifies that dm_crc_source_should_start_dprx returns true only when CRC is transitioning from off (!enabled) to a DPRX source (enable && is_dprx(source)). like, that's the one singular moment she's allowed to say yes β¨
and for every other combination? false. all of them. no cap. including the cases where it's already enabled, or the target is non-DPRX. those get a big fat nope π
it's giving "strict bouncer at the club, if you're not on the list you're not getting in" π₯
π§ SEE ALSO π§
the whole friend group, fr fr β go say hi:
- 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_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_stop_dprx(9)
π and that's the whole page bestie. go forth and test responsibly.
okay so the sign-off era: this iconic little page lives at ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β future queen behavior honestly β slay, bye! ππ
π¦ 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