ENUM DRM_COLOR_LUT_TESTS(9)
π 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 π₯
- Kernel file
./include/drm/drm_color_mgmt.h drm_color_lut_extract(9)drm_color_lut32_extract(9)drm_color_lut_size(9)drm_color_lut32_size(9)
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
- 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