dm_test_need_dp_aux(9)
β¨ dm_test_need_dp_aux π
okay bestie, welcome to the dm_test_need_dp_aux(9) page from the Kernel API Manual π«Ά this is a tiny little unit test and honestly? she's iconic for it. no cap, we're gonna get you fluent in her whole vibe.
πΈ NAME πΈ
dm_test_need_dp_aux β literally just a test for dm_need_dp_aux() π that's the whole assignment, that's the gig.
β¨ SYNOPSIS β¨
void dm_test_need_dp_aux (struct kunit *test );
π ARGUMENTS π
testβ the KUnit test context π§ that's the one thing she takes, and she takes it very seriously.
π DESCRIPTION π
okay so here's what she actually verifies π dm_need_dp_aux has to return true when the transition starts or stops a DPRX CRC source β because that's the case where you need the DP AUX handle, periodt. and it has to return false for non-DPRX transitions, like CRTC or NONEβNONE π no handle needed, we love a low-maintenance transition.
so: DPRX stuff β true. everything else β false. the vibe check is that simple β¨
π¦ SEE ALSO π¦
the kernel file herself, right here:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crc_test.c
and her whole friend group π go read them, they're all so good:
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_crc_source_should_start_dprx(9)dm_test_crc_source_should_stop_dprx(9)
okay that's the whole page, go be smart about it π this came from the source at ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's the dm_test_need_dp_aux(9) page of the Kernel API Manual β love that for us, bye bestie ππ
π¦ 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