]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/colorop: Remove read-only comments from interpolation fields
authorAlex Hung <alex.hung@amd.com>
Tue, 9 Jun 2026 10:20:18 +0000 (12:20 +0200)
committerMelissa Wen <melissa.srw@gmail.com>
Wed, 10 Jun 2026 10:13:34 +0000 (07:13 -0300)
The lut1d_interpolation and lut3d_interpolation fields and their
associated properties were marked as read-only, but userspace
can set them via drm_atomic_colorop_set_property().

Fixes: 7fa3ee8c0a79 ("drm/colorop: Define LUT_1D interpolation")
Fixes: db971856bbe0 ("drm/colorop: Add 3D LUT support to color pipeline")
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Fixes: 9ba25915efba ("drm/amd/display: Add support for sRGB EOTF in DEGAM block")
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patch.msgid.link/20260609110420.1298352-2-mwen@igalia.com
include/drm/drm_colorop.h

index bd082854ca74cac90b42020b09206a8516687666..61cc8206b4c44f4b1a776a0c9f49aab63c9dcd7c 100644 (file)
@@ -309,7 +309,6 @@ struct drm_colorop {
        /**
         * @lut1d_interpolation:
         *
-        * Read-only
         * Interpolation for DRM_COLOROP_1D_LUT
         */
        enum drm_colorop_lut1d_interpolation_type lut1d_interpolation;
@@ -317,7 +316,6 @@ struct drm_colorop {
        /**
         * @lut3d_interpolation:
         *
-        * Read-only
         * Interpolation for DRM_COLOROP_3D_LUT
         */
        enum drm_colorop_lut3d_interpolation_type lut3d_interpolation;
@@ -325,7 +323,7 @@ struct drm_colorop {
        /**
         * @lut1d_interpolation_property:
         *
-        * Read-only property for DRM_COLOROP_1D_LUT interpolation
+        * Property for DRM_COLOROP_1D_LUT interpolation
         */
        struct drm_property *lut1d_interpolation_property;
 
@@ -353,7 +351,7 @@ struct drm_colorop {
        /**
         * @lut3d_interpolation_property:
         *
-        * Read-only property for DRM_COLOROP_3D_LUT interpolation
+        * Property for DRM_COLOROP_3D_LUT interpolation
         */
        struct drm_property *lut3d_interpolation_property;