dm_test_veri...alid_degamma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

dm_test_veri...alid_degamma β€” bestie, this is the KUnit test for a degamma LUT with a wrong size, and the whole vibe is: it must return -EINVAL. Like, that's the assignment, no notes. ✨

(This page lives in the Kernel API Manual, so you already know it's kernel business 🧚)


πŸŽ€ SYNOPSIS

void dm_test_verify_lut_sizes_invalid_degamma (struct kunit *test );

πŸ¦‹ ARGUMENTS

  • test β€” the KUnit test context. It's giving "the little context object the whole test hangs off of" energy, iykyk 🫢

🌸 SEE ALSO

First up, the actual kernel file this whole situation lives in β€” go read it, it's iconic:

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

And now the entire friend group (yes, all of them, I'm not skipping a single one πŸ’–):

πŸ’€ That's the whole roster, no cap β€” read them all or don't, but they're all right there.

✨ and that's the page, babe ✨ this little number came straight out of ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” go forth and validate those LUT sizes πŸ’…πŸŽ€

πŸ“¦ where this page comes from