dm_test_get_funcs_nv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_get_funcs_nv(9) β€” from the Kernel API Manual, bestie

okay so. this page is literally a kernel API manual entry, section 9, and it's about dm_test_get_funcs_nv. yes the name is a mouthful, no we are not abbreviating it. let's go ✨


✨ NAME ✨

dm_test_get_funcs_nv β€” Test Navi PP SMU function table setup πŸŽ€

like that's the whole vibe. it's a test. about a function table. for Navi. we move.


πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_get_funcs_nv (struct kunit *test );

that's it. that's the signature. copy it exactly, don't get cute with the spacing, the spacing is load-bearing (it is not, but respect it anyway πŸ’œ).


🌸 ARGUMENTS 🌸

  • test β€” the KUnit test context. that's it. that's the whole argument list. one (1) parameter and she ate πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

so what does this actually do. ok so basically: this test verifies that DCN 2.0 initializes the Navi SMU function table β€” and then it also verifies that the unsupported PME workaround callback is left unset. 😭

like the whole point is that it gets set up correctly and that the thing that should NOT be set stays not-set. double check, double slay. no cap, that's the entire test.

fr fr, "unsupported" here is the point, not a bug β€” the test is literally checking that the callback stays unset. don't come for her πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

okay this next part is long. like long long. but every single one of these is a real reference and we are not skipping a single one, because skipping is not the vibe. grab a snack bestie πŸ“

The source file:

  • Kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_pp_smu_test.c

Structs & setup:

Default clock levels:

dc β†’ pp clock type conversions:

pp β†’ dc clock levels:

the sibling get_funcs tests (our girl's family 🫢):

display requirements & volt/clock plumbing:

cap clock levels:

nv clock ids:

requirements, levels by type, latency/voltage getters:

wm clock changes + apply clock for voltage:

nv set display count / voltage by freq / pstate handshake:

rn get dpm clock table:

rv setters:

nv setters + getters (the big block, stay with me πŸ’€):

see. we made it. 87 references and not a single one dropped πŸ’–


and that's the page!! πŸŽ€βœ¨ super proud of you for making it to the bottom of that SEE ALSO list, genuinely. anyway this whole thing ships from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” so yeah, mark your calendar, bestie, that's the version stamp for dm_test_get_funcs_nv(9). iykyk πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from