dm_test_audi...s_zero_count(9)
π dm_test_audi...s_zero_count(9) β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual πΈ and today's main character is dm_test_audi...s_zero_count(9). yes the header got truncated, no that's not a vibe check failure, that's just how the page introduces itself. we move. π
β¨ NAME β¨
dm_test_audio_init_pins_zero_count β zero audio_count leaves num_pins at zero π
like, the whole entire point: if the audio count is zero, then the pin count stays zero too. that's it. that's the test. iconique.
π¦ SYNOPSIS π¦
void dm_test_audio_init_pins_zero_count (struct kunit *test );
one function, one argument, void return, zero drama. periodt. π₯
π ARGUMENTS π
testβ The KUnit test context π β the little test-world this whole thing lives inside. hand it over and let it cook.
π DESCRIPTION π
When res_pool->audio_count is 0, num_pins must be 0 and no pins touched. π«Ά
that's the whole rule, fr fr. zero audio means zero pins, and nothing gets poked, prodded, or touched in the process. no cap. if you're the kind of person who wants to poke pins anyway β don't. π
π SEE ALSO π
π§ the kernel file in question
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_audio_test.c
π« the whole friend group (yes, all of them, i listed every single one)
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_component_get_eld_copies_matching_connector(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)
like i said. the whole group chat. every single one showed up to the function. ππ
lowkey a note to self: this is a test page for the amdgpu_dm audio tests, so if you're reading this you're probably already deep in the DRM/AMD waters. hydrate. π§
πΈ and that's the page!! source/version moment: this one's stamped ./drivers/gpu/drm/amd/display/..., dated October 2026, and yes it still signs off as dm_test_audi...s_zero_count(9) because the truncation is part of the lore now. mwah π go touch zero pins (don't). πβ¨
π¦ 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