dm_test_com...ed_connector(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

dm_test_commit_audio_notifies_removed_connector β€” the one where we test the removal notification, bestie πŸ’–

So real talk, this page lives in the Kernel API Manual (that's the manual name, keep it in mind for the group chat receipts 🧾). The title got cropped all cute and mysterious as dm_test_com...ed_connector(9) but the full name is right up there, no cap ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_commit_audio_notifies_removed_connector (struct kunit *test
);

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context πŸ’… that's it, that's the whole argument list, she's low maintenance

🌸 DESCRIPTION 🌸

Okay so picture this 🫢: a connector loses its CRTC. Iconic, dramatic, main character moment πŸ’€. When that happens, commit_audio should do exactly two things, and we're testing both of them, periodt:

  1. clear its audio instance 🧹
  2. notify the audio component for the old pin πŸ“’

That's the vibe check this test is running. Nothing more, nothing less, fr fr.


⭐ SEE ALSO ⭐

The kernel file where this whole situation lives πŸ‘‘:

./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_audio_test.c

And the rest of the audio-test squad, all of them, in order, because leaving anyone out would be rude πŸ™ˆ:


πŸ’œ friendly reminder: this is a test for the removal notification path β€” she's not the removal itself, she's the one holding the clipboard going "mmhm, and then what happened?" πŸ“

Okay that's the whole page bestie, go forth and slay those KUnit tests πŸ’…βœ¨πŸŒ·

Sign-off time πŸŽ€ β€” this little masterpiece came from the kernel file path ./drivers/gpu/drm/amd/display/... and it's dated October 2026. Bookmark it, screenshot it, tattoo it, whatever works for you πŸ”₯πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from