dm_test_com...ack_addition(9)
π dm_test_commit_audio_skips_writeback_addition β Kernel API Manual
okay so bestie, welcome to the Kernel API Manual πΈ we're about to vibe through a KUnit test whose name is genuinely a whole paragraph, and honestly? it ate. the man page header is dm_test_com...ack_addition(9) (yes it's truncated, yes that's just how it is, we're not fixing it, it's iconic that way) π
β¨ NAME β¨
dm_test_commit_audio_skips_writeback_addition β the test that checks writeback addition gets skipped. like, no writeback audio for you, bestie π«π
π¦ SYNOPSIS π¦
void dm_test_commit_audio_skips_writeback_addition (struct kunit *test
);
that's it. one function. void return. very demure, very mindful β¨
π ARGUMENTS π
testβ the KUnit test context. that's the whole vibe, it's the scaffolding that holds the test together π
π₯ DESCRIPTION π₯
so here's the tea, and it's kind of important π so listen up:
Even when you've got a valid modeset and the stream status is looking all good β like, everything's passing the vibe check β writeback connectors still must not publish an HDA audio instance. periodt. π ββοΈ
not me explaining this twice, but fr fr: valid modeset β , stream status β , HDA audio instance for writeback connectors β. the whole point of the test is that the skip happens anyway. it's giving strict boundaries, and we love that for us π
π SEE ALSO π
first up, the actual kernel file this lives in (iykyk):
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_audio_test.cπ
and now the whole friend group β the squad of sibling tests, all listed exactly like this:
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_addition_without_stream(9)
like, that's the whole group chat right there π«Ά no cap, they all get along.
sign-off time, besties π§π this page came from ./drivers/gpu/drm/amd/display/... and the version stamp is October 2026 β and yeah the footer still says dm_test_com...ack_addition(9) because some things never change π stay slay, go read your kernel source, mwah πβ¨
π¦ 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