From mboxrd@z Thu Jan 1 00:00:00 1970 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 ECCBAC48BEE for ; Wed, 14 Feb 2024 06:45:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CEC0710E35D; Wed, 14 Feb 2024 06:45:48 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="RTqzVP5e"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id 57E4610E085 for ; Wed, 14 Feb 2024 06:45:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707893144; x=1739429144; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=u5Fc+E6LxPK2uJ9TptaAgcgKgyptPFXTvafItptzA5E=; b=RTqzVP5eyFZNCosdbNSOQf5mtopNnJ/RjVgcjIsALV33fjuSVof7sc42 eHZ7C1ax/NhCrad99g6mBzDHq/G9VmnYEuLByWXB+IThnPW8VtiMB6aW0 AYkYF15h9qdpqxYYHJCCUQqRTDzKF341XdwphYYSP3MFBu+1TCZsKiEVU c1T29OO61SI9r1BE6R7ooR9cJxABMTFUrqxgNWIKBpiyAj6lKbnsa4sF7 qYcN65OYsksiYsN/ifL1axzyDHGRj2LwvUJ9w8/mhYHyjBMV1MWTEKuKM Am9fWcrPM8+mXT54f+S2fQFP7eZBIYue6rcwydXnDgQVOcsiR9voR33mI Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="12645424" X-IronPort-AV: E=Sophos;i="6.06,159,1705392000"; d="scan'208";a="12645424" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2024 22:45:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,159,1705392000"; d="scan'208";a="3427557" Received: from bhanu-nuclab.iind.intel.com ([10.145.169.172]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2024 22:45:43 -0800 From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Cc: Harry Wentland Subject: [RFC v4 03/22] include/drm-uapi: Add COLOROP object Date: Wed, 14 Feb 2024 12:09:34 +0530 Message-ID: <20240214063953.1285495-4-bhanuprakash.modem@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240214063953.1285495-1-bhanuprakash.modem@intel.com> References: <20240214063953.1285495-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" From: Harry Wentland DRM is introducing a new DRM core obejct, a drm_colorop. This object will represent one color operation in a color pipeline. Introduce the object type in the drm-uapi. v3: - move enum drm_colorop_type to drm_mode.h Signed-off-by: Harry Wentland --- include/drm-uapi/drm_mode.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/drm-uapi/drm_mode.h b/include/drm-uapi/drm_mode.h index ea1b639bc..c49526bca 100644 --- a/include/drm-uapi/drm_mode.h +++ b/include/drm-uapi/drm_mode.h @@ -629,6 +629,7 @@ struct drm_mode_connector_set_property { #define DRM_MODE_OBJECT_FB 0xfbfbfbfb #define DRM_MODE_OBJECT_BLOB 0xbbbbbbbb #define DRM_MODE_OBJECT_PLANE 0xeeeeeeee +#define DRM_MODE_OBJECT_COLOROP 0xfafafafa #define DRM_MODE_OBJECT_ANY 0 struct drm_mode_obj_get_properties { @@ -857,6 +858,10 @@ struct drm_color_lut { __u16 reserved; }; +enum drm_colorop_type { + DRM_COLOROP_1D_CURVE +}; + /** * struct hdr_metadata_infoframe - HDR Metadata Infoframe Data. * -- 2.43.0