Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1813780rwe; Fri, 2 Sep 2022 04:24:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR5COzlbgvvuVwbrKLlGRJaE5YLIostjFqn6RK/pVOliYczFcXZmaljT0CYXh+MikAmGGIrT X-Received: by 2002:a05:6402:84d:b0:435:a764:9aad with SMTP id b13-20020a056402084d00b00435a7649aadmr34270323edz.332.1662117853854; Fri, 02 Sep 2022 04:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662117853; cv=none; d=google.com; s=arc-20160816; b=xyvABH+VhOD1cer8ByMh6oTb8GbMJYanMpflQkFaZwWmKPeZCUKXhYeqMoEmAAdb7p mwd3mwXYoBrJFgCQ15HUucnVWtRjQ5lgQDS61ka3ipZloFd2WX41+Ov3Hosl7/j87nQB owdqCi8gwGVCFXmEPfmJfBgQZ/jla74sFtRVn+ROZ/fwfAwjaE4PE0YUqwA9wzQs4ST0 e2jH/+nQQJonoEScLKyL2veasPObVT2Vf5ZojDcsv7wr5LA/zw9mJsorPG1FpyJFK0NA 1sirlVpCyPD7m0Iq334bRZz6sE+mPxNbP94eV9WTy0bTkd7N/COVOsD90VKnEPYCZyna Jlrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0uxRZBOPLi+NS9/RxnDo7X4RCP5qkt6gVLnbm7RHdG0=; b=kFcEmEXsW8u3OTIBPLBxkXZHLcZ2B7WAIsK73xniF8xmhLODZDBvN5ynfSaV1udt0d KXxBsiqsm6SuB7vZzYNNaAbX7AIk2vTW7me57UCAm18l2fX7+NXFWm2aQ2ne4rxBTFUe Snfcmx2lbpt3IRVWwv+Y6z61byPKR9qZWxOj06uc5HMDvsKe/KHbAuQTmZs/VFdWDaZB ncZm/Y6VmRzlZXtY2dQRErlwmKaqcZxxyYe2iie7JZPbgKqCwErzMOScrj0DO57/pUMI I8l1ba3QLo1f4A7LvGBHlSZOKsJEyiq/FMIOO9hd+2oHj84JF5RXEpeqgNT95t3fR59z 1vrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="MDDK0E/F"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c11-20020a05640227cb00b004477568d7a4si1841376ede.215.2022.09.02.04.23.46; Fri, 02 Sep 2022 04:24:13 -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; dkim=pass header.i=@linaro.org header.s=google header.b="MDDK0E/F"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236061AbiIBLMB (ORCPT + 99 others); Fri, 2 Sep 2022 07:12:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235854AbiIBLLd (ORCPT ); Fri, 2 Sep 2022 07:11:33 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 502FAC8891 for ; Fri, 2 Sep 2022 04:11:30 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id c4so1322108iof.3 for ; Fri, 02 Sep 2022 04:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=0uxRZBOPLi+NS9/RxnDo7X4RCP5qkt6gVLnbm7RHdG0=; b=MDDK0E/FDsqrvMBSeQgKwGIHYGkmcNOk/JK2LfBWtKTnvz8UXigbZgJ8amIbXTgeZ0 CJ58uJ3ILTmOU9dOiBID8MtuvQeceTweyTewSDUirG6oCXMlHs1hrKQYMH7eVLpSccXa nHqWLMPfhbDGIWv2gnaL4YKxq3V9NJkQYjTpQJJSGpzPb3EbkvG7hbP7rAPuHCqSECkC kI8o7dM3EolwUV/EKm2doVCxGCeq2fL2fyyb3G2jmjnRZwUY/1cMGSf83187L2r4fz+3 yjUjQGsQIzwsbufaR/UV5lx5UNLm9Euadt2cY1Pp/uFFnoGXgxJWzLMnAZ06h81ayuXT P0Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=0uxRZBOPLi+NS9/RxnDo7X4RCP5qkt6gVLnbm7RHdG0=; b=t4irkzYw1GQLOYfJ+ac4+KhfSzskKLrbe9KOGZQHsLsqWjPJoWP0CcRhVUxcrvdXY8 B3kWEcMTSMTBeBweuEBfbov2bXZySy1gY+xD8DV52MdN5isRg/hOmnjKwfGZGdzFDlQk 95tvNiRtj9gzpVNSgs8eRtjoMuysjLWQXJbtFkIXNmfmswHKvMukYnAk4w1nOna7s/O5 TRMfsEwDU8SYISnmzTyiZ39wDQgNpwqmRb9hBLl/uXVojHsIIqUcX9fQOrua7AK8ImDS ND3kuLKV4+iOrCamFWsuolWC358u5kUWb8feJPBTmSV0sY4L3HxYmfroGAyVc6g36S8o 8+oQ== X-Gm-Message-State: ACgBeo3nF7cJ1kXnZNEu2uP5vBgia2Fw6QRO8Z3GfeK0AkhQOZlIUr3h /6q/ZbJ/YMd6R6wIOm5hryf2seeRbRdK3vQMgoeTXw== X-Received: by 2002:a6b:3f88:0:b0:689:c144:328a with SMTP id m130-20020a6b3f88000000b00689c144328amr16521320ioa.63.1662117089052; Fri, 02 Sep 2022 04:11:29 -0700 (PDT) MIME-Version: 1.0 References: <1659608930-4370-1-git-send-email-quic_kalyant@quicinc.com> <04d77534-e2b5-b860-a59e-e1a511ed35ae@linaro.org> In-Reply-To: From: Dmitry Baryshkov Date: Fri, 2 Sep 2022 14:11:17 +0300 Message-ID: Subject: Re: [v1] drm/msm/disp/dpu1: add support for hierarchical flush for dspp in sc7280 To: Kalyan Thota Cc: "Kalyan Thota (QUIC)" , "dianders@chromium.org" , "dri-devel@lists.freedesktop.org" , "linux-arm-msm@vger.kernel.org" , "freedreno@lists.freedesktop.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "robdclark@gmail.com" , "swboyd@chromium.org" , "Vinod Polimera (QUIC)" , "Abhinav Kumar (QUIC)" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Fri, 2 Sept 2022 at 12:35, Kalyan Thota wrote: > > > > >-----Original Message----- > >From: Dmitry Baryshkov > >Sent: Friday, August 26, 2022 5:02 PM > >To: Kalyan Thota ; Kalyan Thota (QUIC) > >; dianders@chromium.org > >Cc: dri-devel@lists.freedesktop.org; linux-arm-msm@vger.kernel.org; > >freedreno@lists.freedesktop.org; devicetree@vger.kernel.org; linux- > >kernel@vger.kernel.org; robdclark@gmail.com; swboyd@chromium.org; Vinod > >Polimera (QUIC) ; Abhinav Kumar (QUIC) > > > >Subject: Re: [v1] drm/msm/disp/dpu1: add support for hierarchical flush for dspp > >in sc7280 Ugh. I'd kindly ask to fix your email client to behave like a normal one. > >>>> @@ static void _setup_ctl_ops(struct dpu_hw_ctl_ops *ops, > >>>> ops->setup_blendstage = dpu_hw_ctl_setup_blendstage; > >>>> ops->get_bitmask_sspp = dpu_hw_ctl_get_bitmask_sspp; > >>>> ops->get_bitmask_mixer = dpu_hw_ctl_get_bitmask_mixer; > >>>> - ops->get_bitmask_dspp = dpu_hw_ctl_get_bitmask_dspp; > >>>> + if (cap & BIT(DPU_CTL_HIERARCHICAL_FLUSH)) { > >>>> + ops->get_bitmask_dspp = > >>>> + dpu_hw_ctl_get_bitmask_dspp_v1; > >>> > >>> We have used _v1 for active CTLs. What is the relationship between > >>> CTL_HIERARCHILCAL_FLUSH and active CTLs? > >> Active CTL design replaces legacy CTL_MEM_SEL, CTL_OUT_SEL registers > >> in grouping the resources such as WB, INTF, pingpong, DSC etc into the > >> data path DSPP hierarchical flush will gives us a finer control on which post > >processing blocks to be flushed as part of the composition ( like IGC, PCC, GC .. > >etc ) These blocks are contained in DSPP package. > > > >So, I assume that hierarchical DSPP flush does not exist on non-active CTL SoCs. > >Which supported SoCs do support the hierarchichal DSPP flush? > > > Dspp Sub-block flush is supported from the DPU 7-series, the only target in the catalogue is sc7280. Ack, thanks. -- With best wishes Dmitry