dm_test_comm...thout_stream(9)
π dm_test_commit_audio_skips_addition_without_stream(9)
okay so welcome to the Kernel API Manual bestie, this one's a (9) page and it's genuinely so specific it's iconic β¨
πΈ NAME πΈ
dm_test_commit_audio_skips_addition_without_stream β the test that checks the NULL stream skip π«Ά
like, literally: Test NULL stream skip. that's the whole vibe.
β SYNOPSIS β
void dm_test_commit_audio_skips_addition_without_stream(struct kunit *test);
no cap, that's it. one function, one argument, zero drama π
π ARGUMENTS π
testβ the KUnit test context π that's the whole parameter. it's giving "just here to hold the context" and honestly? respect.
π₯ DESCRIPTION π₯
okay so picture this: a modeset happens, right? and the removal-side ELD notification still gets sent out β that part goes through, no notes π¦
BUT. the addition side? it must skip if the new DM CRTC state has no stream. like, must. not optional. it's the whole point of the test, and the test is literally named after it π
so the vibe check here is: removal notification = sent anyway, addition notification = nah, we're not doing that when there's no stream. periodt π
π SEE ALSO π
first up, the kernel file itself, because obviously:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_audio_test.c
and now the whole friend group, in the exact order they showed up π:
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_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_writeback_addition(9)
twenty-seven besties and every single one of them ate π₯
hii just a lil heads up π this page lives at./drivers/gpu/drm/amd/display/..., it's the October 2026 edition, and you found it underdm_test_comm...thout_stream(9)in the Kernel API Manual. mwah, go read some kernel source ππ·β¨
π¦ 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