dm_test_wb_...unded_by_max(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dm_test_wb_...unded_by_max(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’… this one's a lil deep-cut from the AMD display test garden and honestly? it's giving "quietly important" πŸŽ€

πŸ’– NAME πŸ’–

dm_test_wb_get_modes_bounded_by_max β€” the one that goes "hey, are all these modes actually within max resolution?" and checks, fr fr 🌸

⭐ SYNOPSIS ⭐

void dm_test_wb_get_modes_bounded_by_max (struct kunit *test );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” your KUnit test context, the little main-character passport this test carries around with it 🫢

πŸ”₯ DESCRIPTION πŸ”₯

okay so picture this: the test spins up a DRM mock connector (yes, a mock one, we're not out here touching real hardware, no cap) and then verifies that every single mode handed back by amdgpu_dm_wb_connector_get_modes has hdisplay <= 3840 and vdisplay <= 2160 😌✨

why those numbers? because that's literally the DWB hardware maximum, and the modes gotta match it β€” nothing bigger sneaking through the vibe check πŸ’€

so: all modes within max. that's the whole assignment. and it ate πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file it lives in, in all its glory:

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

and the whole friend group of sibling tests, because they roll deep 🫢:


that's the whole page, bestie πŸ’œ cute lil sign-off time: this came from the source at ./drivers/gpu/drm/amd/display/... and it's dated October 2026, filed under dm_test_wb_...unded_by_max(9) πŸŒˆπŸ“ go check on those other tests, they miss you πŸ’–

πŸ“¦ where this page comes from