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 D279AC43458 for ; Wed, 8 Jul 2026 19:44:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4050688C4C; Wed, 8 Jul 2026 19:44:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="sQaN1TaI"; dkim-atps=neutral Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8E46810F260; Wed, 8 Jul 2026 19:44:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3keGy35/vbpaTq8L7yU1Q8SyRrmA1TIJh1qN1u58y2g=; b=sQaN1TaIVkJHntAk2M7kHitotX kj2MhNe2rwMiNBDy+MC9OyQQ5yTRjecL6fVGel8l6e9OwwgZv/BfH5ph72VNctWsLY4pkZ/EeTd6J 9eEFWoSPpeNKXjMh35ivcCuuSIUl+KALfYexx0xQXQWZCg8KVzwXO0o3I4/msEhkWhP09dX4Nkc2D s4yisV5JqB07tVHEEyaVxr+T58jXpzjd0ZGYeQtdWcGyiPqFcfR80vnAAEY0kkNIbd85vqL+mbmBA EyXYZvTjIEy32yYjy/rCjMVRrw6xMuX/6PprYhXzR5nleYC3HAF8SKOjJI5/MTKrCwAcO1v1E5ink XZ0jyPVw==; Received: from 100.red-79-144-92.dynamicip.rima-tde.net ([79.144.92.100] helo=killbill) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1whYBQ-00BtrH-Dj; Wed, 08 Jul 2026 21:43:48 +0200 From: Melissa Wen To: airlied@gmail.com, alexander.deucher@amd.com, christian.koenig@amd.com, harry.wentland@amd.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, simona@ffwll.ch, siqueira@igalia.com, sunpeng.li@amd.com, tzimmermann@suse.de Cc: Ariel DAlessandro , "Nicolas F . R . A . Prado" , Alex Hung , Simon Ser , Uma Shankar , Chaitanya Kumar Borah , Robert Mader , Xaver Hugl , Pekka Paalanen , John Harrison , amd-gfx@lists.freedesktop.org, kernel-dev@igalia.com, Louis Chauvet , dri-devel@lists.freedesktop.org Subject: [RFC PATCH 01/19] drm/crtc: Add color pipeline to CRTC state Date: Wed, 8 Jul 2026 21:37:16 +0200 Message-ID: <20260708194343.2578387-2-mwen@igalia.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260708194343.2578387-1-mwen@igalia.com> References: <20260708194343.2578387-1-mwen@igalia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" From: NĂ­colas F. R. A. Prado Add a color pipeline to the CRTC state to allow post-blend color pipelines. Signed-off-by: NĂ­colas F. R. A. Prado Reviewed-by: Louis Chauvet Reviewed-by: Harry Wentland Reviewed-by: Ariel D'Alessandro --- include/drm/drm_crtc.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 152349f973e3..30afa05b7c0f 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -274,6 +274,14 @@ struct drm_crtc_state { */ struct drm_property_blob *gamma_lut; + /** + * @color_pipeline: + * + * The first colorop of the active color pipeline, or NULL, if no + * color pipeline is active. + */ + struct drm_colorop *color_pipeline; + /** * @background_color: * -- 2.53.0