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 604DDC4332F for ; Sat, 15 Oct 2022 17:53:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2128310E1EF; Sat, 15 Oct 2022 17:53:30 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9418910E1EF for ; Sat, 15 Oct 2022 17:53:22 +0000 (UTC) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id F2814480; Sat, 15 Oct 2022 19:53:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1665856401; bh=fTGDnsZ+kkYWS988E2RYHZ1zeosDuku7oMHvbrCyHG4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u7Q2noG31q9BZv7/9REAyzTKxmMHZJ/9caSQ2r0fqf5kVZCM0nOfXNeObFsKPXDvy +GB/d0IlM0+FTDBsanK2M/LRcMDFb70YBfu53L3Z6+O3WH/5cwo84LAnqYP6hH4yZX A6MdPyCzT/1DjFztmx73IGZNHKNoBZpN3c+sKB+w= Date: Sat, 15 Oct 2022 20:52:58 +0300 From: Laurent Pinchart To: Yuan Can Subject: Re: [PATCH v2] drm/omapdrm: Remove unused struct csc_coef_rgb2yuv Message-ID: References: <20221014024810.21675-1-yuancan@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221014024810.21675-1-yuancan@huawei.com> 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: , Cc: neil.armstrong@linaro.org, arnd@arndb.de, tomba@kernel.org, guozhengkui@vivo.com, jsarha@ti.com, cai.huoqing@linux.dev, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Yuan, Thank you for the patch. On Fri, Oct 14, 2022 at 02:48:10AM +0000, Yuan Can wrote: > After commit 64ff18911878, struct csc_coef_rgb2yuv is not used any more > and can be removed as well. > > Fixes: 64ff18911878 ("drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes") > Signed-off-by: Yuan Can Reviewed-by: Laurent Pinchart > --- > changes in v2: > - adjust commit msg > --- > drivers/gpu/drm/omapdrm/dss/dispc.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c > index 0ee344ebcd1c..aacad5045e95 100644 > --- a/drivers/gpu/drm/omapdrm/dss/dispc.c > +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c > @@ -855,11 +855,6 @@ struct csc_coef_yuv2rgb { > bool full_range; > }; > > -struct csc_coef_rgb2yuv { > - int yr, yg, yb, cbr, cbg, cbb, crr, crg, crb; > - bool full_range; > -}; > - > static void dispc_ovl_write_color_conv_coef(struct dispc_device *dispc, > enum omap_plane_id plane, > const struct csc_coef_yuv2rgb *ct) -- Regards, Laurent Pinchart