dm_test_aud...ets_defaults(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_aud...ets_defaults(9) β€” Kernel API Manual, but make it a group chat

Hey bestie, welcome to the kernel API manual for this one, and yes the title on the page is dm_test_aud...ets_defaults(9) β€” it's truncated like that on purpose, it's not a typo, the manpage just ran out of room to be dramatic πŸŽ€


🌸 NAME 🌸

dm_test_audio_init_pins_sets_defaults β€” ok so basically this is the test that checks your pin entries got initialised to their default values, love that for them ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_audio_init_pins_sets_defaults (struct kunit *test );

πŸ’– ARGUMENTS πŸ’–

  • test β€” the KUnit test context, aka the little world this test lives in 🫢

🧚 DESCRIPTION 🧚

So what it's testing is that amdgpu_dm_audio_init_pins actually does its job, and there's three things it has to nail:

  • it must set num_pins from audio_count ✨
  • it must reset every pin to the sentinel defaults β€” that's -1 for rate/channels/bits, and 0 for the rest πŸ‘‘
  • and it must copy each pin's hardware instance index from res_pool->audios[i]->inst πŸ’…

It's giving "check all the boxes" energy and honestly we're obsessed. No cap πŸ’―


πŸ”₯ SEE ALSO πŸ”₯

The kernel file lives right here, no cap:

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

And here's the whole squad of sibling tests β€” go say hi to all of them, there's a lot, don't skip any 😭:


Ok that's the whole page, every detail intact, nothing skipped, we ate and left no crumbs πŸ“πŸ’…

Sign-off time: this gem came out of ./drivers/gpu/drm/amd/display/... and it's dated October 2026, filed under dm_test_aud...ets_defaults(9). Slay, see u in the next manpage bestie πŸ’œπŸŒˆπŸ‘‘

πŸ“¦ where this page comes from