dm_test_com...ed_connector(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ dm_test_com...ed_connector(9) πŸŽ€

okay bestie so we're in the Kernel API Manual today and this page is literally about dm_test_com...ed_connector β€” say that five times fast, i can't 😭 anyway it's a KUnit test helper and it's giving "small function, very specific job" and honestly? we respect it.


✨ NAME ✨

dm_test_commit_audio_notifies_added_connector β€” the test for when a connector gets added and the audio notification should go off. that's it, that's the whole vibe πŸ’…

🌸 SYNOPSIS 🌸

void dm_test_commit_audio_notifies_added_connector (struct kunit *test
);

like, it returns void β€” it's not here to give you answers, it's here to check things. main character energy fr fr πŸ‘‘

πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the KUnit test context πŸ§ͺ like yeah it's just the context, but it's the context, you know? everything needs somewhere to live.

πŸ’– DESCRIPTION πŸ’–

so here's the lore: when a modeset enables a connector with a stream status, then commit_audio should do two things, no cap:

  1. store the stream audio instance πŸ“
  2. notify the audio component for that pin πŸ””

and that's the whole behaviour being tested. the test literally exists to vibe check that both of those happen. periodt ✨

ngl this one is a test, so if you're reading this hoping for a general-purpose function to call in your own code… it's not that, bestie πŸ™ˆ it's a KUnit test case.

🌈 SEE ALSO 🌈

okay buckle up because this list is long and every single one of these is a friend of the family 🫢

first, the kernel file where all this lives:

  • Kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_audio_test.c πŸ“

and then, the whole squad πŸ‘‘:

every single one, accounted for, not a single name dropped πŸ’€βœ¨


source/version: ./drivers/gpu/drm/amd/display/...  β€’  date: October 2026  β€’  and the page itself is dm_test_com...ed_connector(9), iconic from start to finish πŸ’…πŸŽ€

anyway bestie that's the page, go read the other 27 now, i'll wait πŸ«ΆπŸ¦‹

πŸ“¦ where this page comes from