dm_test_buil..._ranges_dmif(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dm_test_buil..._ranges_dmif(9) ✨

okay so bestie, welcome to the Kernel API Manual page for dm_test_buil..._ranges_dmif(9) β€” yes, the title is abbreviated like that, she’s mysterious πŸ’…. This one is all about testing reader (DMIF) watermark sets.


πŸŽ€ NAME πŸŽ€

dm_test_build_wm_clock_ranges_dmif β€” Test reader (DMIF) watermark sets.


🌸 SYNOPSIS 🌸

void dm_test_build_wm_clock_ranges_dmif (struct kunit *test );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” KUnit test context. That’s the little test-world passport this function needs. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

okay so picture this: the test is verifying that build_wm_clock_ranges_soc15 does three specific things, and it wants all three to slay:

  • it copies the reader set count
  • it maps wm_inst to wm_set_id, clamping instances > 3 to WM_SET_A
  • it converts every clock from MHz to kHz (x1000) into the DMIF clock ranges

Like, that’s the whole vibe check: reader set count copied, wm_inst β†’ wm_set_id with the > 3 clamp to WM_SET_A, and every clock going from MHz to kHz (x1000) inside the DMIF clock ranges. No cap. ✨


🫢 SEE ALSO 🫢

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

The whole friend group πŸ₯°:


mwah πŸ’‹ this page is from ./drivers/gpu/drm/amd/display/..., dated October 2026 β€” source/version and date both ate, periodt. bye bestie! πŸŽ€

πŸ“¦ where this page comes from