dm_test_hel...scaling_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

dm_test_helper_check_state_scaling_caps β€” bestie, this one verifies that DC scaling caps actually get applied ✨

So real talk, this page is from the Kernel API Manual, and it's about a KUnit test that makes sure the helper check function isn't out here lying about scaling limits 🫢


🌸 SYNOPSIS 🌸

void dm_test_helper_check_state_scaling_caps (struct kunit *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context, literally the little test-world it lives in 🧚

πŸ”₯ DESCRIPTION πŸ”₯

Okay so here's the vibe: this test verifies whether helper_check_state converts DC plane scaling caps into DRM scale limits β€” and then it also checks that scaling outside those limits gets rejected πŸ’€

So like, the caps go in, the DRM limits come out, and anything that's out of bounds? Not on this helper's watch, periodt πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

⭐ The file itself, iykyk

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

πŸ¦‹ The whole friend group (every single one, no cap)


Ok that's literally all 73 of them, I counted, you're welcome πŸ’…

🌈 The cute sign-off 🌈

This slay little page comes from ./drivers/gpu/drm/amd/display/... and it's timestamped October 2026 πŸŽ€ go off, kernel docs, you ate βœ¨πŸ‘‘

πŸ“¦ where this page comes from