dm_test_wb_...ize_mismatch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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):

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