drm_color_lut32_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is drm_color_lut32_check(9) from the Kernel API Manual β€” the one and only vibe check for extended lookup tables πŸ’…

drm_color_lut32_check β€” check validity of extended lookup table. That's the name + one-liner combo, bestie.

πŸ’… SYNOPSIS πŸ’…

Here's the signature exactly so nobody comes for me:

int drm_color_lut32_check (const struct drm_property_blob *lut , u32
       tests );

πŸŽ€ ARGUMENTS πŸŽ€

  • lut β€” property blob containing extended LUT to check. It's the const struct drm_property_blob * bestie β€” the blob holding the extended LUT you're checking.
  • tests β€” bitmask of tests to run. A u32 bitmask; the driver uses it to say which tests from drm_color_lut_tests should be performed.

✨ DESCRIPTION ✨

Okay so this helper checks whether a userspace-provided extended lookup table is valid and satisfies hardware requirements. No cap. Drivers pass a bitmask indicating which of the tests in drm_color_lut_tests should be performed.

It returns 0 on success and -EINVAL on failure. That's it: 0 success, -EINVAL failure. periodt.

bestie please keep the blob and the bitmask honest β€” this is literally the validity check, not a vibe-only situation πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ cute footer-adjacent sign-off: this page's source/version is ./drivers/gpu/drm, dated October 2026, and it's part of the Kernel API Manual. now go check that LUT, bestie 🫢✨

πŸ“¦ where this page comes from