dm_test_aud...ng_connector(9)
π dm_test_aud...ng_connector(9) β the kernel API manual glow-up β¨
okay so bestie, welcome to the dm_test_aud...ng_connector(9) page π
this is a Kernel API Manual entry, and yes the title is giving "abbreviated by someone who ran out of terminal width" but we move π«Ά
πΈ NAME πΈ
dm_test_audio_component_get_eld_copies_matching_connector β the Test ELD lookup girly β¨
like, that's literally her whole job. no cap.
π SYNOPSIS π
void dm_test_audio_component_get_eld_copies_matching_connector (struct
kunit *test );
she takes one thing and returns nothing, and honestly? iconic behavior π
π ARGUMENTS π
testβ The KUnit test context. yes bestie, the whole test rig lives in here π§
π¦ DESCRIPTION π¦
okay so picture this π the bound component callback is out here doing its thing, and the vibe check says it should do three whole things:
- find the connector whose audio instance matches the requested port π
- report it enabled (say it with your chest π )
- copy the connector ELD π
that's it. that's the test. she finds the match, she says "yes queen you're enabled," and she copies that ELD over. periodt π₯
π SEE ALSO π
first up, the actual source file, go read it iykyk:
Kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_audio_test.c
and now the whole entire friend group β every single one of these tests, no skipping, we don't do that here π«Ά:
dm_test_audio_init_disabled(9)dm_test_audio_init_enabled_success(9)dm_test_audio_fini_without_enabled_audio(9)dm_test_fill_audio_info_ids_name_flags(9)dm_test_fill_audio_info_cea_lt_3_skips_modes(9)dm_test_fill_audio_info_cea_ge_3_copies_modes(9)dm_test_fill_audio_info_latency_present(9)dm_test_fill_audio_info_latency_absent_keeps_zero(9)dm_test_fill_audio_info_cea_ge_3_zero_modes(9)dm_test_audio_component_bind_sets_fields(9)dm_test_audio_component_unbind_clears_fields(9)dm_test_eld_notify_invokes_callback(9)dm_test_eld_notify_no_component(9)dm_test_eld_notify_null_audio_ops(9)dm_test_eld_notify_null_callback(9)dm_test_audio_init_pins_sets_defaults(9)dm_test_audio_init_pins_zero_count(9)dm_test_audio_component_get_eld_no_match(9)dm_test_commit_audio_notifies_removed_connector(9)dm_test_commit_audio_notifies_added_connector(9)dm_test_commit_audio_skips_writeback_removal(9)dm_test_commit_audio_skips_without_new_crtc_state(9)dm_test_commit_audio_skips_without_stream_status(9)dm_test_commit_audio_skips_detached_connector(9)dm_test_commit_audio_skips_without_modeset(9)dm_test_commit_audio_skips_addition_without_stream(9)dm_test_commit_audio_skips_writeback_addition(9)
π quick heads up bestie: dm_test_audio_component_get_eld_no_match(9) up there is the other one β this page is the matching connector version. don't mix them up, that would be a vibe check failure π
and that's the page!! π source/version squished into the footer lives at ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β so mark your calendars, she's from the future β bye bestie, go write some passing tests ππΈβ¨
π¦ 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