dm_test_def...evels_memory(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dm_test_default_clock_levels_memory(9) ✨

okay so real talk, this page lives in the Kernel API Manual and it's about dm_test_default_clock_levels_memory β€” a KUnit test that checks the memory clock default levels. yes bestie, there are several of these and the display one and engine one get their own pages too, we'll get to them πŸ’…


🌸 NAME 🌸

dm_test_default_clock_levels_memory β€” Test memory clock default levels. that's it, that's the whole job, and honestly? iconic.


πŸŽ€ SYNOPSIS πŸŽ€

void dm_test_default_clock_levels_memory (struct kunit *test );

no return value, it's a void girlie, she just is 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the KUnit test context. yeah she needs her little test harness bestie to run, don't we all 😭

πŸ’– DESCRIPTION πŸ’–

okay so here's the vibe check: this test verifies that get_default_clock_levels populates 2 memory clock levels, and that those levels have the expected frequencies in kHz. that's the whole assertion. two levels, right frequencies, in kHz, no cap 🎯

like, it's a "did the function do the thing it says it does" test and honestly we love a queen who knows her own spec ✨


🌈 SEE ALSO 🌈

the kernel file this lives in, obvi:

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

and now the entire friend group β€” yes, all of them, grab a snack, this is a long one πŸ“:


that's the whole squad, no one got left out, we don't do that here πŸ’œ

and that's the page bestie!! source path is ./drivers/gpu/drm/amd/display/... and the date stamp says October 2026 β€” go off, future calendar πŸ“…βœ¨ mwah, ily, go run your tests πŸ’…πŸŽ€

πŸ“¦ where this page comes from