dm_test_wb_a...valid_format(9)
π 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):
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_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)
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
- 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