[PATCH V10 27/30] tests/kms_colorop: Add a 3D LUT subtest

Aurabindo Pillai aurabindo.pillai at amd.com
Tue Aug 26 16:39:07 UTC 2025



On 8/15/25 12:06 AM, Alex Hung wrote:
> This includes a subtests 3dlut_17_12_rgb.
> 
> Signed-off-by: Alex Hung<alex.hung at amd.com>
> ---
>   include/drm-uapi/drm_mode.h |   18 +
>   lib/igt_color.c             |  186 ++
>   lib/igt_color.h             |   10 +
>   lib/igt_color_lut.h         | 4946 +++++++++++++++++++++++++++++++++++
>   lib/igt_kms.c               |    2 +
>   lib/igt_kms.h               |    2 +
>   tests/kms_colorop.c         |   35 +-
>   tests/kms_colorop.h         |   19 +
>   8 files changed, 5217 insertions(+), 1 deletion(-)
>   create mode 100644 lib/igt_color_lut.h
> 
> diff --git a/include/drm-uapi/drm_mode.h b/include/drm-uapi/drm_mode.h
> index fe3e98e20..009bb3e7f 100644
> --- a/include/drm-uapi/drm_mode.h
> +++ b/include/drm-uapi/drm_mode.h
> @@ -891,6 +891,24 @@ enum drm_colorop_type {
>   	DRM_COLOROP_1D_LUT,
>   	DRM_COLOROP_CTM_3X4,
>   	DRM_COLOROP_MULTIPLIER,
> +	DRM_COLOROP_3D_LUT,
> +};
> +
> +enum drm_colorop_interpolation_type {
> +	DRM_COLOROP_TETRAHEDRAL,
> +};
> +

This doesnt seem to be used anywhere, so drop?



More information about the igt-dev mailing list