dm_test_add...ows_capacity(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ dm_test_add_modifier_grows_capacity(9)

okay so first things first: this page lives in the Kernel API Manual, and it's a KUnit test doc, which honestly makes it kind of niche-but-iconic. it's short, it's sweet, and it's doing one very specific thing. let's get into it πŸ’–


✨ NAME ✨

dm_test_add_modifier_grows_capacity β€” literally just verifying that adding to the modifier array triggers growth and keeps the old data around. bestie behaviour, honestly: grow without losing your past 🫢


🌸 SYNOPSIS 🌸

void dm_test_add_modifier_grows_capacity (struct kunit *test );

that's the whole signature. no surprises, no plot twists πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the KUnit test context. that's it. that's the whole argument list. it's giving low-maintenance πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

okay so the actual vibe check here: this test verifies whether the modifier array's growth keeps the old data and appends the new data. both things. at the same time. no cap πŸ”₯

like β€” grow the array, don't lose what was already in it, and put the new stuff at the end. that's the whole test. simple, correct, obsessed 🌟


🌈 SEE ALSO 🌈

bestie the SEE ALSO section is long and i mean LONG, so buckle up. if you want more of this exact energy, the kernel file lives here:

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

and here's the full squad of sibling tests β€” every single one, no skips, fr fr 🫑

ngl if you read that whole list out loud you deserve a snack πŸ“

and that's the page!! sign-off time: this one came from ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's filed under dm_test_add...ows_capacity(9) in case you need to find it again. ily, go write some passing tests πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from