dm_test_pp_t...within_limit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_pp_t...within_limit(9) β€” like, the Kernel API Manual, but make it make sense ✨

okay so bestie, welcome to section 9 of the Kernel API Manual β€” yes, the fancy kernel-doc one, not yourεΈΈθ§„ user-commands man page. this little diva right here is dm_test_pp_to_dc_clock_levels_within_limit, and no, the title up top got abbreviated to dm_test_pp_t...within_limit(9) because apparently even man pages get a nickname. iconic behavior honestly πŸŽ€


🌸 NAME 🌸

dm_test_pp_to_dc_clock_levels_within_limit β€” the test that checks a normal copy stays, y'know, within limit. that's it. that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

void dm_test_pp_to_dc_clock_levels_within_limit (struct kunit *test );

like, it returns void and takes exactly one thing. no notes. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” your KUnit test context πŸ’– that's the whole argument list, she's low-maintenance.

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea, bestie: this test verifies that pp_to_dc_clock_levels correctly copies clock values πŸ”₯ when the count is within DM_PP_MAX_CLOCK_LEVELS. that's the one job. copy the clocks, stay under the max, slay. no cap. ✨


🌈 SEE ALSO 🌈

πŸ’œ The kernel file, aka where she lives

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

🧚 the struct & setup besties

πŸ“ the clock-levels default squad

πŸ’€ the dc_to_pp_clock_type girlies (there are SO many, she's thorough)

⭐ the pp_to_dc_clock_levels family (our main character's siblings)

πŸ”₯ the get_funcs crew

πŸŽ€ display requirements / clock-for-voltage tests

🧡 the cap_clock_levels set

🌸 the nv_clock_id crew

🫢 apply-display-requirements & clock-levels-by-type crew

πŸ’– the nv_ set-display-count trio

πŸ’« the nv_ voltage / pstate / dpm-table besties

⭐ the rv_ setting squad

🌟 the nv_ setting squad (she has a LOT of nv_ tests fr fr)

πŸŽ€ and one more for the road


πŸ’€ real talk bestie: this SEE ALSO list is genuinely enormous and i am NOT skipping a single one of these. every single (9) reference stays. ctrl+F is your friend, periodt. πŸ”₯

and that's the whole page, bestie! πŸŽ€ she came from ./drivers/gpu/drm/amd/display/... and she's dated October 2026 β€” don't lose her, she's iconic. byeee πŸ’–βœ¨πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from