dm_test_wb_a...dth_mismatch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_wb_atomic_check_width_mismatch(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this page is literally about one tiny but iconic KUnit width-mismatch test, and we’re gonna read it together. no cap. ✨


🌸 NAME 🌸

  • dm_test_wb_atomic_check_width_mismatch β€” Verify rejection when width alone differs. that’s the whole assignment, and she ate. πŸ’…

✨ SYNOPSIS ✨

void dm_test_wb_atomic_check_width_mismatch (struct kunit *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” KUnit test context. yes bestie, that’s the one thing she needs. 🫢

πŸ’– DESCRIPTION πŸ’–

so here’s the tea: when only the framebuffer width differs from the CRTC mode hdisplay, the function should return -EINVAL. that’s the expected rejection, periodt. no extra plot twists. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

the Kernel file is right here, iykyk:

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

and the friend group / extended universe is:


sign-off vibe check: source/version footer says ./drivers/gpu/drm/amd/display/..., dated October 2026, and the footer title is dm_test_wb_a...dth_mismatch(9). mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from