Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1302903rwr; Thu, 20 Apr 2023 12:57:06 -0700 (PDT) X-Google-Smtp-Source: AKy350ZtRbG4Q5pE4X06sij2B6KESQVGtM2EAi9i1Gi1OBirwGi94913qp0uKyk1+GMiGnK/GF2g X-Received: by 2002:a05:6a21:1506:b0:f0:78fb:d07c with SMTP id nq6-20020a056a21150600b000f078fbd07cmr3230686pzb.54.1682020626031; Thu, 20 Apr 2023 12:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682020626; cv=none; d=google.com; s=arc-20160816; b=0pfmMAf0ltx9StyURiJ8fHi08Ig8GoPpXShp/1pzf8ER+2ox7r4grpUf0eH9XiBXNj 2xiTEv7DpS8h87h7GMn+ConbjMXnvbnyJpqSC1WPfLF63jvQ10ZlwcyP22FG3Uj5myGD YRx3VFbo95KlR6FYqD27YUOSrtYUwp2N36r6v4u4E+x/z6B7kCFS+2IOaRTJsP1sLUb4 oqFrXz2VaHYwQOJQpmbrL/ZSZnZqVQEYRBFNzEo16LO/Etem4isD06jzsjpwj6fgQFlE QyroKjuyyMji1pIbbYZO88qI+1r6/GDFbX/tXa24RbSu+y85rkmEYxAUUD59oSI+kU51 XSLg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=cnsalIUa7mV9maInp/i5yEPv7hMdoV2OFNGQ1WUfPlg=; b=kfYsacFOu+hGv5INHBTtz7Yx2KfFKtxNWQwlQ3GlOMWTCNNuS2KH/fJPT/p4qQSawQ SdjCSWJN8OMRQ1J73izSAWpI7ghXIbEbCiwEhg9T/+Iys16BWPOSjDFCkd6HIsb94Swq 12vJluQRPEnpBgT3gVlrhxpmub+iLzHdsulzAbBZZUCRjSOa6QD6R8GZxRbru9Zd02K8 5er9u9G3V4mIat2dU5jCslYxsKGIwXEGZd6SdyRmhKJDNftkJAB2DrNLBUq72TSdAKCf P6Lfk4v9Evni7AtA/5wzGasRGd5P25EXpN6kBYtamq6xQzjd8v3cQjeRlC/dRYb5UqiY 6F9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v187-20020a632fc4000000b0050f55427e3dsi2448372pgv.701.2023.04.20.12.56.52; Thu, 20 Apr 2023 12:57:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231707AbjDTT42 (ORCPT + 99 others); Thu, 20 Apr 2023 15:56:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231287AbjDTT41 (ORCPT ); Thu, 20 Apr 2023 15:56:27 -0400 Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it [5.144.164.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1230C55A8 for ; Thu, 20 Apr 2023 12:56:24 -0700 (PDT) Received: from SoMainline.org (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 57249205AB; Thu, 20 Apr 2023 21:56:23 +0200 (CEST) Date: Thu, 20 Apr 2023 21:56:22 +0200 From: Marijn Suijten To: Dmitry Baryshkov Cc: Abhinav Kumar , Konrad Dybcio , Rob Clark , Sean Paul , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] DPU1 GC1.8 wiring-up Message-ID: <57pxyxwluu33z4lpij5gx7biwfo5pbhdalhhxflw7esi5n3vts@qhjb7ldnz3wb> References: <20230420-topic-dpu_gc-v1-0-d9d1a5e40917@linaro.org> <5b133c55-e4f5-bfd2-b542-a7d44313c038@linaro.org> <3f3b3637-ed85-09a1-22b7-3ccd4bc929bb@quicinc.com> <2dff9d62-cffe-c66f-9e50-3ecd64e44d37@linaro.org> <6a335df7-ff0b-098a-feec-45714159df04@linaro.org> <0f469b3c-5f0f-e027-8a9f-d1233169c04a@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0f469b3c-5f0f-e027-8a9f-d1233169c04a@linaro.org> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-04-20 22:51:22, Dmitry Baryshkov wrote: > On 20/04/2023 22:47, Abhinav Kumar wrote: > > > > > > On 4/20/2023 11:01 AM, Dmitry Baryshkov wrote: > >> On 20/04/2023 04:36, Konrad Dybcio wrote: > >>> > >>> > >>> On 20.04.2023 03:28, Abhinav Kumar wrote: > >>>> > >>>> > >>>> On 4/19/2023 6:26 PM, Konrad Dybcio wrote: > >>>>> > >>>>> > >>>>> On 20.04.2023 03:25, Dmitry Baryshkov wrote: > >>>>>> On 20/04/2023 04:14, Konrad Dybcio wrote: > >>>>>>> Almost all SoCs from SDM845 to SM8550 inclusive feature a GC1.8 > >>>>>>> dspp sub-block in addition to PCCv4. The other block differ a bit > >>>>>>> more, but none of them are supported upstream. > >>>>>>> > >>>>>>> This series adds configures the GCv1.8 on all the relevant SoCs. > >>>>>> > >>>>>> Does this mean that we will see gamma_lut support soon? > >>>>> No promises, my plate is not even full, it's beyond overflowing! :P > >>>>> > >>>>> Konrad > >>>> > >>>> So I think I wrote about this before during the catalog rework/fixes > >>>> that the gc registers are not written to / programmed. > >>>> > >>>> If thats not done, is there any benefit to this series? > >>> Completeness and preparation for the code itself, if nothing else? > >> > >> The usual problem is that if something is not put to use, it quickly > >> rots or becomes misused for newer platforms. We have seen this with > >> the some of DPU features. > >> > >> In case of GC (and the freshly defined DPU_DSPP_IGC, but not used) we > >> have three options: > >> - drop the unused GC from msm8998_sblk. > >> - keep things as is, single unused GC entry > >> - fill all the sblk with the correct information in hope that it stays > >> correct > >> > >> Each of these options has its own drawbacks. I have slight bias > >> towards the last option, to have the information in place (as long as > >> it is accurate). > >> > > > > My vote is for (1) . Today, GC is unused and from the discussion here, > > there is no concrete plan to add it. If we keep extending an unused > > bitmask for all the chipsets including the ones which will get added in > > the future in the hope that someday the feature comes, it doesnt sound > > like a good idea. > > > > I would rather do (1), if someone has time. > > Agree, this was the second item on my preference list. Could you please > send this oneliner? Nit (to make sure we're on the same thought here): I think it's a 3-liner: remove it from DSPP_MSM8998_MASK as well as msm8998_dspp_sblk. > > OR lets stay at (2) till > > someone does (1). I'm personally okay leaving it in place too, with an eye on implementing this, IGC, and other blocks at some point if there's a use for it via standard DRM properties. > > When someone implements GC, we can re-use this patch and that time keep > > konrad's author rights or co-developed by. Good to at least know all these SoCs have the same offset and revision. - Marijn