dm_test_crt...abled_source(9)
π NAME
dm_test_crtc_handle_crc_irq_disabled_source β bestie, this is the KUnit test that checks the "disabled source exit" sitch, aka it makes sure that when CRC capture is off, a present stream does not bump the skip counter. Slay. β¨
(Also hi, you're reading the Kernel API Manual, welcome, come in, it's cozy in here π«Ά)
β¨ SYNOPSIS
void dm_test_crtc_handle_crc_irq_disabled_source(struct kunit *test);
π«Ά ARGUMENTS
testβ the KUnit test context. That's it. That's the whole personality. It's the little harness baddie that carries the test state so the test can do its thing π
πΈ DESCRIPTION
Okay so here's the vibe check π: this one verifies that a present stream does not advance the skip counter when CRC capture is disabled. Like, stream is present, capture is off, so the skip counter should stay exactly where it is. No notes. Iconic behavior, truly. π
π¦ SEE ALSO
The kernel file this lives in, for when you wanna go read the source like the main character you are:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crc_test.c
And the whole friend group π (every single one, no gatekeeping):
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_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)
ngl if you see the page header squished like dm_test_crt...abled_source(9), that's just the terminal doing its little truncation moment π β the full name is the one up top. π
Okay that's the whole tea π this page came out of the Kernel API Manual, sourced from ./drivers/gpu/drm/amd/display/..., dated October 2026 β go forth and test your CRC vibes, bestie, you ate and left no crumbs πβ
π¦ 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