dm_test_comm...thout_stream(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’œ:

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 under dm_test_comm...thout_stream(9) in the Kernel API Manual. mwah, go read some kernel source πŸ’–πŸŒ·βœ¨
πŸ“¦ where this page comes from