dm_test_nv_set_wm_ranges(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, listen β€” dm_test_nv_set_wm_ranges is the name, and this one is literally a Test Navi watermark range forwarding moment. that's the whole vibe. we're testing that Navi actually forwards its watermark ranges, no cap πŸŽ€

✨ SYNOPSIS ✨

void dm_test_nv_set_wm_ranges (struct kunit *test );

🫢 ARGUMENTS 🫢

  • test β€” the KUnit test context, aka the lil ✨ scenario holder✨ that gets handed to you. it's a struct kunit * and yes it is the most important character here 🌸

πŸ¦‹ DESCRIPTION πŸ¦‹

ok so here's the tea πŸ”₯ β€” this test is here to verify that pp_nv_set_wm_ranges forwards ranges to DPM, and then unconditionally returns PP_SMU_RESULT_OK.

read that again. unconditionally. like, it doesn't matter what happened, bestie's coming back with PP_SMU_RESULT_OK periodt πŸ’…. two things getting checked in one slay little test:

  1. the ranges actually get forwarded to DPM
  2. the return value is PP_SMU_RESULT_OK, always, no drama

that's it. that's the function. short and iconic πŸ‘‘

🌈 SEE ALSO 🌈

the whole friend group 🫢 β€” here's everyone you should go look at:


kay that's literally the whole page bestie, no more lore to spill πŸ’œ

this gem came out of the source ./drivers/gpu/drm/amd/display/... in October 2026, and it's filed under dm_test_nv_set_wm_ranges(9) β€” Kernel API Manual energy only πŸ¦‹βœ¨

πŸ“¦ where this page comes from