dm_test_wb_...unded_by_max(9)
β¨ 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 π«Ά:
dm_test_wb_atomic_check_no_job(9)dm_test_wb_atomic_check_no_fb(9)dm_test_wb_atomic_check_valid(9)dm_test_wb_atomic_check_size_mismatch(9)dm_test_wb_atomic_check_width_mismatch(9)dm_test_wb_atomic_check_height_mismatch(9)dm_test_wb_atomic_check_invalid_format(9)dm_test_wb_get_modes_returns_modes(9)dm_test_wb_connector_init_success(9)dm_test_wb_prepare_job_no_fb(9)dm_test_wb_cleanup_job_no_fb(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms