dm_test_wb_...ize_mismatch(9)
π dm_test_wb_...ize_mismatch(9) β like, the whole glow-up
okay so bestie, welcome to the Kernel API Manual β¨ this one's a KUnit test page and it's short but she serves. Buckle in, it's giving "tiny function, big opinions" π
πΈ NAME πΈ
dm_test_wb_atomic_check_size_mismatch β literally verifies that the thing gets rejected when both dimensions differ π«Ά no cap, that's the whole personality.
β¨ SYNOPSIS β¨
void dm_test_wb_atomic_check_size_mismatch (struct kunit *test );
that's it. that's the girl. one arg, void return, zero notes π
π¦ ARGUMENTS π¦
testβ the KUnit test context π§ that's it, that's the whole parameter, she's just here to hold context and look cute.
π DESCRIPTION π
so here's the tea β β when both the framebuffer width and height differ from the CRTC mode, the function should return -EINVAL. both. not one. both π like, if you're gonna be wrong, be wrong in every dimension, iykyk. and then the check goes "nope" and hands you back -EINVAL, which is exactly what this test is here to confirm. slay π₯
π SEE ALSO π
Kernel file π
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_wb_test.c
and the whole friend group π (yes, all of them, I'm not skipping a single one, that would be so disrespectful):
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_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_get_modes_bounded_by_max(9)dm_test_wb_connector_init_success(9)dm_test_wb_prepare_job_no_fb(9)dm_test_wb_cleanup_job_no_fb(9)
squad goals, honestly π
okay and for the cute sign-off π β this page lives under ./drivers/gpu/drm/amd/display/..., it's dated October 2026, and the page title is dm_test_wb_...ize_mismatch(9). periodt π
π go read the other tests now, bestie, they're right there β
π¦ 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