dm_test_wb_a...valid_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is the manpage for dm_test_wb_atomic_check_invalid_format β€” and what it does is literally verify rejection of unsupported pixel format. that's the whole vibe. it's giving "test that says no to formats that aren't invited to the party" πŸŽ€

this is from the Kernel API Manual, and the section is dm_test_wb_a...valid_format(9) β€” yes the name is long, yes it's iconic, we don't make the rules πŸ‘‘


✨ SYNOPSIS ✨

void dm_test_wb_atomic_check_invalid_format (struct kunit *test );

that's it. that's the whole signature. clean, simple, slay πŸ¦‹


🌸 ARGUMENTS 🌸

  • test β€” the KUnit test context. it's the little carrying case for everything the test needs, and yes you gotta hand it over πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

okay so picture this: the framebuffer dimensions match perfectly β€” like, width and height are totally in agreement, no drama there β€” but then the pixel format is not in amdgpu_dm_wb_formats[]. 🚫

when that happens, the function should return -EINVAL.

that's the whole test. dimensions line up, format doesn't, and the answer is no. periodt. πŸ’…

fr fr, the point here is confirming the rejection works β€” not in the list means not allowed, and -EINVAL is the receipts 😭

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file lives right here, go look:

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

and here's the whole friend group of related tests, all linked up (iykyk):


and that's the page, bestie πŸ’œ sign-off time: this one comes from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 πŸŽ€ big love to whoever maintains dm_test_wb_a...valid_format(9) β€” u ate ✨🌈⭐

πŸ“¦ where this page comes from