Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6C87CCF9E5 for ; Thu, 30 Oct 2025 03:46:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CC0910E891; Thu, 30 Oct 2025 03:46:05 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.b="1li30yJ7"; dkim-atps=neutral Received: from SN4PR2101CU001.outbound.protection.outlook.com (mail-southcentralusazon11012024.outbound.protection.outlook.com [40.93.195.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id D784310E891; Thu, 30 Oct 2025 03:46:03 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=toYQVB5pWyYRprcEJu7JLe5sDA+DsEMNqBA5RUmK/rVsiVE6XDNjQZxQNBwix9tXBgEFTiVcsq0ahYnJXCjlm1BGlMjunHIjd949l7Z5tvm/JZZC+WYvc5axSdobmuewwMLFZ2AGMCeggenstxw8ABSVSjnbyzqmPzn/16rIOQ5Sy9FWA4CeUGQID7pHSYYGvFQgWFSgjLcI3NTr81bZwqenJvYoFdWb1WMfCv68tL2HgDDXJ3R2ceqzZFnGpGi0QD+hepweIjGBSakiZ5yKi/FPJVdv/YNCe8lJ9hcYIJOl8luxa0G0KRUf3orTPs+UkYYfr7O5SebquukbYMst4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JwhDV6JuAQZCUHqZoz5xm0VoCiieGdSsEgAqFZ5wHNE=; b=y5mj4ilYr5hIMURF+SmEChgoBZ14Dde4OvaI+0/kES7Huf9665EiLUyBbW4Qnx7EAg2PJKZgoerz/mYXuXPgzrkYObgYEwSLHtDHQZeRbWmrb/lA5Wy0raAhPCSXXtxD0eMYG+aNsdh8674sQDYMZuqay4rjdSx9gfOju3E8yny1kREhbeMXTdWAzMySMbJD2GszygTYwudrAWLFy0gmOuBRRGiTu0CSOKgHQPfNkzGkx4XPtWD0crLWr26vywEKUt3vxa/h5f6GynX8h2Eks5Y0Z2E41to/SPLDgmKY+hXKBrhZooks3YlBqS1ddnl42azPprOO1d3gy10nG7lDdw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.freedesktop.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JwhDV6JuAQZCUHqZoz5xm0VoCiieGdSsEgAqFZ5wHNE=; b=1li30yJ71C/WOy5OI1P0wmx5ER/N8tD7cygUpO/LvRmoWYDKkTKV2/Dsu+/wHX6w78SOJTaTYv9oAbPXxg0cgVClPSNiXIv/NMvVCGf1xzx5t6Qpd9yaQDYh6G6jRzlaDaXZqfh0HjOrpr7lan78o3eiGqp3mRlTLs5ETS4WStw= Received: from BN0PR07CA0009.namprd07.prod.outlook.com (2603:10b6:408:141::8) by DM4PR12MB6184.namprd12.prod.outlook.com (2603:10b6:8:a6::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9275.12; Thu, 30 Oct 2025 03:45:57 +0000 Received: from BN1PEPF00004684.namprd03.prod.outlook.com (2603:10b6:408:141:cafe::e8) by BN0PR07CA0009.outlook.office365.com (2603:10b6:408:141::8) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9275.13 via Frontend Transport; Thu, 30 Oct 2025 03:45:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C Received: from satlexmb07.amd.com (165.204.84.17) by BN1PEPF00004684.mail.protection.outlook.com (10.167.243.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9275.10 via Frontend Transport; Thu, 30 Oct 2025 03:45:56 +0000 Received: from kylin.lan (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.17; Wed, 29 Oct 2025 20:45:52 -0700 From: Alex Hung To: , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Daniel Stone Subject: [PATCH V12 06/49] drm/colorop: Add 1D Curve subtype Date: Wed, 29 Oct 2025 21:42:11 -0600 Message-ID: <20251030034349.2309829-7-alex.hung@amd.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251030034349.2309829-1-alex.hung@amd.com> References: <20251030034349.2309829-1-alex.hung@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: satlexmb08.amd.com (10.181.42.217) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PEPF00004684:EE_|DM4PR12MB6184:EE_ X-MS-Office365-Filtering-Correlation-Id: 93374ba2-0591-4076-1610-08de1766d56f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|376014|7416014|36860700013; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?UYtZlnQxfyqoaG8ZQJqVoNGhoXkY5wt0QzvSlJZJ7jPrpDLxcat0Fbh/fl9T?= =?us-ascii?Q?HweUdXkBLzz7nCrVuB/sddvSHyDUg8g+tAwOOhazy/dGy/fanX3Gq1V9Q10W?= =?us-ascii?Q?JkY+Q5L2/Q8kItOOQ6Rxk6ae0zg3rUwytO292FhCiFKn2UFToI5ZrFiJjq1g?= =?us-ascii?Q?F4fuamI3a74tvDpQFTrBI4X8gwtiRruizbhJNOFBvi4jK2x1WZHa/bI94BQm?= =?us-ascii?Q?0584sPNIuhslXav7rBetnPBvm81b/zOVy+8GpvDWMmhzjkPquGz5lAXrvJH0?= =?us-ascii?Q?Gp+Gu0fr1GG/ShXzSrTQSmQJSclMZWNF1VLFMMsYJZ8oiifQmM/UgFkILo8w?= =?us-ascii?Q?ThnSKaSRb26G5WBIWIt3nco7NNat8Nd0t+gRy7Pmd6vknFpKllNrzWfOd3uR?= =?us-ascii?Q?25LZJg0jmrCH8HlZnFE3rsdfJZB9JyswSQinntb+IS2ihBhkgShZPxsQ6kSW?= =?us-ascii?Q?4/7wI5BRcAUkAu9F4xESRiuzhBQ2YktL9aFSvnBKpSsF/k8ER4maXi+r4wiN?= =?us-ascii?Q?GUZQu9DiGyQYRwvt1+5/rwCqDp0+FA1T3U2TuV4SKT110AcGYLsa7ym6rxXa?= =?us-ascii?Q?sDVzC3wYyba8dwyDSToIgbfP3ptVTyuFACuuxBLipTOKMc+Dim9e72S9EHSp?= =?us-ascii?Q?7nD6zDcclbn4NHSdPv4RKWHAxZRSu9dWZrVMKr7vvWq6/qZVsB0TswGvBxSP?= =?us-ascii?Q?GSTtJdWFvw1Y4oNkEaVqrAy/JFmNBfCSK/lDj6RHzykErDOCynMi+SxriMd7?= =?us-ascii?Q?qF63mwjk4lyAuVipjS6zH3UjSsMrTNE3Mpn6f4Ke+xafe3KZPWXmMIqBGQJw?= =?us-ascii?Q?+sLqEGiWQ8lsVgEAD9HClb5xka3fPWbR28wfk9Oee9m/fnz55q0cKUm/Tpbv?= =?us-ascii?Q?qfcmn+QmSQdBMYJDk1yXDSIIsw++bdA1i1r1mve2C/EvKyEc++Ca7BgUgSU6?= =?us-ascii?Q?i6iaeZT5JzFLgrkljWwcPgwtichh1oDL6NK14Rby/W433VZ9FubqWPKnqhup?= =?us-ascii?Q?9zQZcy4o7f62y4Jo8N9I3jxyMn8O/iD6vMnUR2uHsBmuTiRCbyCB7hzcGJAs?= =?us-ascii?Q?Pjr4NW+XxKKNN2bD1suSFjryW/EofZpEs1RMZtpWm6c7cwXcRIvpG2ij2YFH?= =?us-ascii?Q?Z6xtXzml6IokPVbLm1WiaHGNV8JzMV1bFlOlR3WY/KDnIJIso1AzOIQFnRT7?= =?us-ascii?Q?ZZU6liIeJsT4gK7dp4LgccW76kehzdvvmKlq2gcWZPjkGMvyr7AZ30xeVgiK?= =?us-ascii?Q?QJcJWKzqKyAjhqcyAh4bsEECyyl04hW8oG1SZJg/pYkiSGS0ukGeq6bHuiFd?= =?us-ascii?Q?MWAON873zMbPb9mV1o2OnBu2nu/+v88wD5215s+paw1Te0aCwe0jh8ReeHES?= =?us-ascii?Q?GBKLL1ZGjmYL9+qbYXeJjAe/CkEP4DHNBC1QnB65SqvOiMsmrHrjNJagozVz?= =?us-ascii?Q?ECBpzbGa92FC5UCDMMsXPiNyyW93SSHOZ9nNrwhSYtrNBBfwDRMwlKqUUL2o?= =?us-ascii?Q?6P9GKjUWo+l/ze0/fTaRa7Vk5UVL/eQGh0x5QM7ePgDJRQ25+WrEshZGa3Dz?= =?us-ascii?Q?B+7ZDDdP6kpRJs6sALk=3D?= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:satlexmb07.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(1800799024)(376014)(7416014)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2025 03:45:56.7690 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 93374ba2-0591-4076-1610-08de1766d56f X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN1PEPF00004684.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6184 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Harry Wentland Add a new drm_colorop with DRM_COLOROP_1D_CURVE with two subtypes: DRM_COLOROP_1D_CURVE_SRGB_EOTF and DRM_COLOROP_1D_CURVE_SRGB_INV_EOTF. Reviewed-by: Simon Ser Reviewed-by: Louis Chauvet Signed-off-by: Harry Wentland Co-developed-by: Alex Hung Signed-off-by: Alex Hung Reviewed-by: Daniel Stone Reviewed-by: Melissa Wen Reviewed-by: Sebastian Wick --- V9: Specify function names by _plane_ (Chaitanya Kumar Borah) v5: - Add drm_get_colorop_curve_1d_type_name in header - Add drm_colorop_init - Set default curve - Add kernel docs v4: - Use drm_colorop_curve_1d_type_enum_list to get name (Pekka) - Create separate init function for 1D curve - Pass supported TFs into 1D curve init function drivers/gpu/drm/drm_atomic_uapi.c | 18 ++-- drivers/gpu/drm/drm_colorop.c | 134 ++++++++++++++++++++++++++++++ include/drm/drm_colorop.h | 63 ++++++++++++++ 3 files changed, 210 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c index ee233dab3cb2..df8ad79577cd 100644 --- a/drivers/gpu/drm/drm_atomic_uapi.c +++ b/drivers/gpu/drm/drm_atomic_uapi.c @@ -650,11 +650,17 @@ static int drm_atomic_colorop_set_property(struct drm_colorop *colorop, struct drm_colorop_state *state, struct drm_file *file_priv, struct drm_property *property, uint64_t val) { - drm_dbg_atomic(colorop->dev, - "[COLOROP:%d] unknown property [PROP:%d:%s]]\n", - colorop->base.id, - property->base.id, property->name); - return -EINVAL; + if (property == colorop->curve_1d_type_property) { + state->curve_1d_type = val; + } else { + drm_dbg_atomic(colorop->dev, + "[COLOROP:%d:%d] unknown property [PROP:%d:%s]]\n", + colorop->base.id, colorop->type, + property->base.id, property->name); + return -EINVAL; + } + + return 0; } static int @@ -664,6 +670,8 @@ drm_atomic_colorop_get_property(struct drm_colorop *colorop, { if (property == colorop->type_property) { *val = colorop->type; + } else if (property == colorop->curve_1d_type_property) { + *val = state->curve_1d_type; } else { return -EINVAL; } diff --git a/drivers/gpu/drm/drm_colorop.c b/drivers/gpu/drm/drm_colorop.c index 1459a28c7e7b..6fbc3c284d33 100644 --- a/drivers/gpu/drm/drm_colorop.c +++ b/drivers/gpu/drm/drm_colorop.c @@ -31,6 +31,123 @@ #include "drm_crtc_internal.h" +static const struct drm_prop_enum_list drm_colorop_type_enum_list[] = { + { DRM_COLOROP_1D_CURVE, "1D Curve" }, +}; + +static const char * const colorop_curve_1d_type_names[] = { + [DRM_COLOROP_1D_CURVE_SRGB_EOTF] = "sRGB EOTF", + [DRM_COLOROP_1D_CURVE_SRGB_INV_EOTF] = "sRGB Inverse EOTF", +}; + + +/* Init Helpers */ + +static int drm_plane_colorop_init(struct drm_device *dev, struct drm_colorop *colorop, + struct drm_plane *plane, enum drm_colorop_type type) +{ + struct drm_mode_config *config = &dev->mode_config; + struct drm_property *prop; + int ret = 0; + + ret = drm_mode_object_add(dev, &colorop->base, DRM_MODE_OBJECT_COLOROP); + if (ret) + return ret; + + colorop->base.properties = &colorop->properties; + colorop->dev = dev; + colorop->type = type; + colorop->plane = plane; + + list_add_tail(&colorop->head, &config->colorop_list); + colorop->index = config->num_colorop++; + + /* add properties */ + + /* type */ + prop = drm_property_create_enum(dev, + DRM_MODE_PROP_IMMUTABLE, + "TYPE", drm_colorop_type_enum_list, + ARRAY_SIZE(drm_colorop_type_enum_list)); + + if (!prop) + return -ENOMEM; + + colorop->type_property = prop; + + drm_object_attach_property(&colorop->base, + colorop->type_property, + colorop->type); + + return ret; +} + +/** + * drm_plane_colorop_curve_1d_init - Initialize a DRM_COLOROP_1D_CURVE + * + * @dev: DRM device + * @colorop: The drm_colorop object to initialize + * @plane: The associated drm_plane + * @supported_tfs: A bitfield of supported drm_plane_colorop_curve_1d_init enum values, + * created using BIT(curve_type) and combined with the OR '|' + * operator. + * @return zero on success, -E value on failure + */ +int drm_plane_colorop_curve_1d_init(struct drm_device *dev, struct drm_colorop *colorop, + struct drm_plane *plane, u64 supported_tfs) +{ + struct drm_prop_enum_list enum_list[DRM_COLOROP_1D_CURVE_COUNT]; + int i, len; + + struct drm_property *prop; + int ret; + + if (!supported_tfs) { + drm_err(dev, + "No supported TFs for new 1D curve colorop on [PLANE:%d:%s]\n", + plane->base.id, plane->name); + return -EINVAL; + } + + if ((supported_tfs & -BIT(DRM_COLOROP_1D_CURVE_COUNT)) != 0) { + drm_err(dev, "Unknown TF provided on [PLANE:%d:%s]\n", + plane->base.id, plane->name); + return -EINVAL; + } + + ret = drm_plane_colorop_init(dev, colorop, plane, DRM_COLOROP_1D_CURVE); + if (ret) + return ret; + + len = 0; + for (i = 0; i < DRM_COLOROP_1D_CURVE_COUNT; i++) { + if ((supported_tfs & BIT(i)) == 0) + continue; + + enum_list[len].type = i; + enum_list[len].name = colorop_curve_1d_type_names[i]; + len++; + } + + if (WARN_ON(len <= 0)) + return -EINVAL; + + + /* initialize 1D curve only attribute */ + prop = drm_property_create_enum(dev, DRM_MODE_PROP_ATOMIC, "CURVE_1D_TYPE", + enum_list, len); + if (!prop) + return -ENOMEM; + + colorop->curve_1d_type_property = prop; + drm_object_attach_property(&colorop->base, colorop->curve_1d_type_property, + enum_list[0].type); + drm_colorop_reset(colorop); + + return 0; +} +EXPORT_SYMBOL(drm_plane_colorop_curve_1d_init); + static void __drm_atomic_helper_colorop_duplicate_state(struct drm_colorop *colorop, struct drm_colorop_state *state) { @@ -70,7 +187,16 @@ void drm_colorop_atomic_destroy_state(struct drm_colorop *colorop, static void __drm_colorop_state_reset(struct drm_colorop_state *colorop_state, struct drm_colorop *colorop) { + u64 val; + colorop_state->colorop = colorop; + + if (colorop->curve_1d_type_property) { + drm_object_property_get_default_value(&colorop->base, + colorop->curve_1d_type_property, + &val); + colorop_state->curve_1d_type = val; + } } /** @@ -114,3 +240,11 @@ const char *drm_get_colorop_type_name(enum drm_colorop_type type) return colorop_type_name[type]; } + +const char *drm_get_colorop_curve_1d_type_name(enum drm_colorop_curve_1d_type type) +{ + if (WARN_ON(type >= ARRAY_SIZE(colorop_curve_1d_type_names))) + return "unknown"; + + return colorop_curve_1d_type_names[type]; +} diff --git a/include/drm/drm_colorop.h b/include/drm/drm_colorop.h index 9c9698545f63..fa167e642e0d 100644 --- a/include/drm/drm_colorop.h +++ b/include/drm/drm_colorop.h @@ -31,6 +31,42 @@ #include #include + +/** + * enum drm_colorop_curve_1d_type - type of 1D curve + * + * Describes a 1D curve to be applied by the DRM_COLOROP_1D_CURVE colorop. + */ +enum drm_colorop_curve_1d_type { + /** + * @DRM_COLOROP_1D_CURVE_SRGB_EOTF: + * + * enum string "sRGB EOTF" + * + * sRGB piece-wise electro-optical transfer function. Transfer + * characteristics as defined by IEC 61966-2-1 sRGB. Equivalent + * to H.273 TransferCharacteristics code point 13 with + * MatrixCoefficients set to 0. + */ + DRM_COLOROP_1D_CURVE_SRGB_EOTF, + + /** + * @DRM_COLOROP_1D_CURVE_SRGB_INV_EOTF: + * + * enum string "sRGB Inverse EOTF" + * + * The inverse of &DRM_COLOROP_1D_CURVE_SRGB_EOTF + */ + DRM_COLOROP_1D_CURVE_SRGB_INV_EOTF, + + /** + * @DRM_COLOROP_1D_CURVE_COUNT: + * + * enum value denoting the size of the enum + */ + DRM_COLOROP_1D_CURVE_COUNT +}; + /** * struct drm_colorop_state - mutable colorop state */ @@ -46,6 +82,13 @@ struct drm_colorop_state { * information. */ + /** + * @curve_1d_type: + * + * Type of 1D curve. + */ + enum drm_colorop_curve_1d_type curve_1d_type; + /** @state: backpointer to global drm_atomic_state */ struct drm_atomic_state *state; }; @@ -127,6 +170,14 @@ struct drm_colorop { * this color operation. The type is enum drm_colorop_type. */ struct drm_property *type_property; + + /** + * @curve_1d_type_property: + * + * Sub-type for DRM_COLOROP_1D_CURVE type. + */ + struct drm_property *curve_1d_type_property; + }; #define obj_to_colorop(x) container_of(x, struct drm_colorop, base) @@ -151,6 +202,9 @@ static inline struct drm_colorop *drm_colorop_find(struct drm_device *dev, return mo ? obj_to_colorop(mo) : NULL; } +int drm_plane_colorop_curve_1d_init(struct drm_device *dev, struct drm_colorop *colorop, + struct drm_plane *plane, u64 supported_tfs); + struct drm_colorop_state * drm_atomic_helper_colorop_duplicate_state(struct drm_colorop *colorop); @@ -191,4 +245,13 @@ static inline unsigned int drm_colorop_index(const struct drm_colorop *colorop) */ const char *drm_get_colorop_type_name(enum drm_colorop_type type); +/** + * drm_get_colorop_curve_1d_type_name - return a string for 1D curve type + * @type: 1d curve type to compute name of + * + * In contrast to the other drm_get_*_name functions this one here returns a + * const pointer and hence is threadsafe. + */ +const char *drm_get_colorop_curve_1d_type_name(enum drm_colorop_curve_1d_type type); + #endif /* __DRM_COLOROP_H__ */ -- 2.43.0