dm_test_nv_...pm_states_ok(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dm_test_nv_...pm_states_ok(9) ✨

okay so bestie, we're in the Kernel API Manual today and this page is about one (1) very specific little KUnit test πŸŽ€ it's short, it's sweet, it's giving "I just check one thing and I check it well" energy πŸ’…


🌸 NAME 🌸

dm_test_nv_get_uclk_dpm_states_ok β€” the test that checks a successful DPM states query, no cap ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_nv_get_uclk_dpm_states_ok (struct kunit *test );

πŸ’œ ARGUMENTS πŸ’œ

  • test β€” the KUnit test context 🧚 that's the whole argument list, she travels light

πŸŽ€ DESCRIPTION πŸŽ€

So the vibe here is: this test verifies that pp_nv_get_uclk_dpm_states returns PP_SMU_RESULT_OK. That's it. That's the whole flex πŸ”₯ it's a happy-path check and honestly? iconic. one function, one expected result, zero drama 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file πŸ“

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

and now the whole extended friend group πŸ’– like literally the entire test suite showed up to the group chat:


and that's the whole page bestie, short and slay πŸ’… this one lives at ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” mwah, see u in the next test πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from