Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp519690rdg; Thu, 12 Oct 2023 12:18:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGDFWWInf3l1AXld/y2w7xwJJ7i5F+vV8xaTZBZEWCNjRgHJdYBK451t3/3L5SNSjRCzg+m X-Received: by 2002:a05:6a20:1387:b0:174:30e:43a1 with SMTP id hn7-20020a056a20138700b00174030e43a1mr4210352pzc.3.1697138298115; Thu, 12 Oct 2023 12:18:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697138298; cv=none; d=google.com; s=arc-20160816; b=bPaCKjSl0LHZN1lxD2D9rmVc4/s6m1rwGzJ0L2MsI0txgqwegbSVIrx09Qbq/amLtZ 3JE/SV7l1MjpjefF1PIR6yROQmFwymiI/u5MiPG4wgTPviytQy5mDdsyYts602UnLzdW XXn/z01Akdz7NGZ8ND0LtJhVJRlAs9SAHZbFuHfngj6OdnLzeZ2eJ14Ntm/GPISqxfIn JTDMzqVfZF7SeT9VhvOG9c/CsiPLudB6OV9n64h0KcNI5UV6HZxWtcM9Z61O9BvjTsGu KM4JuGfqpNRR3loZAcE+JBNF9m2NmLSTkGxp0vMVDY+5eeMZiGrnqBxaMfPPimehYpjz eSVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BF5auhot1bDClGXN8yxksfDZK+pWZ3Br/2OygZhxgsg=; fh=t9J2qplpoiuz90wj/UnrqQREAzzd/x6XMzjklCLah9M=; b=0nMttJi4ObuDO9zDGHPExOyxNCcCi+y56vE9fWDuOyx6EwX89zDPuTKv2dziwI8P2+ IlEDBYjPpLgNqzYKGWupf+IqIYnYJu6hxoU+eoOU8jCEXg7UthhXi2BxtrwDHNCquHHK O647AxwN94YIfQFavfwcTbS7iLt6mZMctg+AtvdoZYpwzzoGaBcSG2YpITydQGydjnsM 49BsgBTwaI5EoV5NfH4+Yt6SYim+02P7+puPQZKQHeTqfK+Hb647lR3s7cAk2C+rOGn7 eNm6HgqF2vBRWv1VZ7IB1OeP6u70iGtY9istY9IPdW/C46s6YrgJsFxP5wpUkBcQsWHl aPfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UkH0ypqE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id a21-20020a63e855000000b00563da455862si2901265pgk.311.2023.10.12.12.18.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 12:18:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UkH0ypqE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D4D358098EAF; Thu, 12 Oct 2023 12:18:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442093AbjJLTR5 (ORCPT + 99 others); Thu, 12 Oct 2023 15:17:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379624AbjJLTRz (ORCPT ); Thu, 12 Oct 2023 15:17:55 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2018EC0 for ; Thu, 12 Oct 2023 12:17:54 -0700 (PDT) Received: from notapiano (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 57FB56607358; Thu, 12 Oct 2023 20:17:50 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697138272; bh=XOvQRewMR/StJ5ta/O6p+3WXsHfd+0zrsVXkYfFjTcM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UkH0ypqERYp2FTBmpVNn7AWMLkLVVqgPpwlTm/3eoByGZzH137ghgNGk/8md/dc73 0Ks8BauDyDFw9eUkEDBetdowuFH8BD9ALURwE5EPwXSFKlI83oXESWupYxy9WiPggj zV784MHq1fhA70jD5E+V9N2flsAy96lg8zJPCnRi4/gvVGLlHr7MPnyYEekRMaHM0v 9wU7A5u6HkuvsDFmIbeOZ3B4FUx+P8oXwthgGwSNP1P0gko/9sFetdg6Gg+8OalEfm WEcSIltPu6TnaPf3n8O3vlWqjah+6/PBKuWaKM4Wzvp+EU1T+KLT0kYubM05mwTOnB LlGP9eOqME/Bg== Date: Thu, 12 Oct 2023 15:17:46 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: AngeloGioacchino Del Regno Cc: chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, matthias.bgg@gmail.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, wenst@chromium.org, kernel@collabora.com, ehristev@collabora.com Subject: Re: [PATCH v11 08/16] drm/mediatek: De-commonize disp_aal/disp_gamma gamma_set functions Message-ID: <1638da95-fd9c-4557-91d9-92bf1b54feaf@notapiano> References: <20231012095736.100784-1-angelogioacchino.delregno@collabora.com> <20231012095736.100784-9-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231012095736.100784-9-angelogioacchino.delregno@collabora.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 12 Oct 2023 12:18:16 -0700 (PDT) On Thu, Oct 12, 2023 at 11:57:28AM +0200, AngeloGioacchino Del Regno wrote: > In preparation for adding a 12-bits gamma support for the DISP_GAMMA > IP, remove the mtk_gamma_set_common() function and move the relevant > bits in mtk_gamma_set() for DISP_GAMMA and mtk_aal_gamma_set() for > DISP_AAL: since the latter has no more support for gamma manipulation > (being moved to a different IP) in newer revisions, those functions > are about to diverge and it makes no sense to keep a common one (with > all the complications of passing common data and making exclusions > for device driver data) for just a few bits. > > This commit brings no functional changes. > > Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: N?colas F. R. A. Prado Thanks, N?colas