dm_test_get_...lane_scaling(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_get_...lane_scaling(9) πŸ’…

ok so bestie, welcome to the Kernel API Manual ✨ this lil page is all about one very specific KUnit test, and like… it's genuinely iconic in a deeply nerdy way, so buckle up πŸŽ€


🌸 NAME 🌸

dm_test_get_min_max_dc_plane_scaling β€” the test that verifies format-specific cap selection and the whole 1->1000 conversion situation. no cap, that's literally what it does πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

void dm_test_get_min_max_dc_plane_scaling (struct kunit *test );

she takes one arg, she takes no nonsense, periodt ⭐


πŸ“ ARGUMENTS πŸ“

  • test β€” the KUnit test context. that's it, that's the whole argument bestie, she's low-maintenance πŸ’…

✨ DESCRIPTION ✨

ok so the actual job here: this test verifies if the min/max scaling values are correct for the NV12 and XRGB8888 formats. two formats, one vibe check, and if the numbers are off she Will let you know 😭πŸ”₯

it's giving "small test, big responsibility" fr fr 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

ok this list is LONG, like, unreasonably long, but every single one of these is part of the family so we're listing them all, no skipping, we don't do that here πŸ’€πŸ’–

first up, the kernel file itself:

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

and now the whole squad 🌈:

like I said. the whole squad. iykyk πŸ§šπŸ’œ


and that's the page!! πŸ¦‹ this absolute gem lives under ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” so yeah, she's from the future, main character energy only πŸ‘‘βœ¨ bye bestie, go read your kernel tests πŸ’–πŸŽ€
πŸ“¦ where this page comes from