ENUM DRM_COLOR_LUT_TESTS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum drm_color_lut_tests (9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's from ./include/drm and it's all about the hw-specific LUT tests you can perform. yes, LUT. lookup table. we're doing color science today, periodt πŸŽ€

🌸 NAME 🌸

enum drm_color_lut_tests β€” the hw-specific LUT tests to perform 🧚

πŸ¦‹ SYNOPSIS πŸ¦‹

enum drm_color_lut_tests {
    DRM_COLOR_LUT_EQUAL_CHANNELS ,
    DRM_COLOR_LUT_NON_DECREASING

};

✨ Constants ✨

  • DRM_COLOR_LUT_EQUAL_CHANNELS β€” this one checks whether the entries of a LUT all have equal values for the red, green, and blue channels πŸ’– it's literally intended for hardware that only accepts a single value per LUT entry and just assumes that value applies to all three color components. one value, all the vibes, iykyk 🫢
  • DRM_COLOR_LUT_NON_DECREASING β€” this one checks whether the entries of a LUT are always flat or increasing (never decreasing, bestie, never πŸ’€). monotonic queen behavior only πŸ‘‘

πŸ’œ Description πŸ’œ

so the drm_color_lut_check function takes a bitmask of the values listed here to determine which tests to apply to a userspace-provided LUT 🌈 bitmask in, vibe check out, no cap.


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie πŸ“ this lil icon comes to you from ./include/drm, dated October 2026 πŸŽ€ go forth and validate those LUTs, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from