Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp337001imn; Thu, 4 Aug 2022 07:53:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR6vqh6tg4Np2Q30zRJJw5z/suORfT40bn0Zbud/6g2BUVJShWz5H0K/xvqXsBgHPSLJzqzp X-Received: by 2002:a05:6a00:181c:b0:52a:bc83:d767 with SMTP id y28-20020a056a00181c00b0052abc83d767mr2095697pfa.76.1659624817069; Thu, 04 Aug 2022 07:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659624817; cv=none; d=google.com; s=arc-20160816; b=vYfFA6pnPF5YxV+voBEZEL13Y6dBCmRrJpn2UkGLRw1YO2PA023Yy6dOMmzp5AAPP5 NJ9JV2GFCRN0fJ/CfoHJxk1dDSaOPTsUmOmHMUwqJGbzvXYcAxBXbNKc8zYCKQi/sfpW 6b+FURTZ7c5zHC/n5jd9AkWdPS+DgZ6428Nxy6GmFMw1fIstB1rIfu9xhY1ppsfiNSZS SXN+6KVEPJHmaD2PvwOfmCfyQVYGOn6gg5/gjKBkzzfkmzenivKU5y0o0tf7wS0SAp9F 1B1uCt5AZdHLE8WvSf11xB6jJIG/DSU5no4aZEWGeprt3Ab/8uhwn7e17v201KtvFavc /s/A== 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=V3jLsfHepCtzmM3jqaIFNUTw4oeeGqLPVBJGqzP2VdM=; b=I7bjp3JTpvaQda5XMjm0Em9Y0nv0My/yYQXYclcN0D3/GbClU0JopBET8q1RTqKJcT mf/MA4m8izcCLWLpaV9CTylzJxdjtCgQ9Wp5d9IZzisFZ5z/X8ev9+EwQsFH2M+HVJSR gOovb1S91w6Y5klqpI0M5BP+TXRPXNuOuI6ZFysw15V4nVD5xPKr7f8TXlZDhV4+Zp3f Hai1C6sTLuatBc7bp1Mk5I+es+JzuQJsyX9lCg0nhrMrPEz5QMgZY7I9y6gY6/Cqe/QB JhFd17hxVNKg5En1rzPUu3RuTRFA3UtJ4jdOES2+4tVn7UtsY5xbIcHFkQ95SsXpgxHO uy3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JkX7XwsJ; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j35-20020a632323000000b00419928621besi11349pgj.320.2022.08.04.07.53.22; Thu, 04 Aug 2022 07:53:37 -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=@chromium.org header.s=google header.b=JkX7XwsJ; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240033AbiHDOR1 (ORCPT + 99 others); Thu, 4 Aug 2022 10:17:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240034AbiHDORZ (ORCPT ); Thu, 4 Aug 2022 10:17:25 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D20F345F40 for ; Thu, 4 Aug 2022 07:17:23 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id j8so11904945ejx.9 for ; Thu, 04 Aug 2022 07:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=V3jLsfHepCtzmM3jqaIFNUTw4oeeGqLPVBJGqzP2VdM=; b=JkX7XwsJCHIlFiF0B5fxtl8ET99tlQYq3RS+0DqL8n+QyFBMY+jCN8PnuswadccSA5 v0MdTihTLtD8ubvNIhYjEY+sngNIR8YxPzP/ayFfUmaggZkgLAMOBQ4VFkROAMr386p0 BLiUb6KVyGjjtpbltPlz+BraNZwXSKA3psbVY= 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; bh=V3jLsfHepCtzmM3jqaIFNUTw4oeeGqLPVBJGqzP2VdM=; b=GsB/D4TXFadcqVQoshzdW7lnN5ZSq/gjkW0VlouNisrQVyq/qY/zm2KIqX6kAOaroI qFdOjVvel7qDxsD5C6mvjPoUqurg8JDBIlxdlNiCDifTRq3F7JISBMqlgVQc2XV1urNP BmsAPqrvgJDvHdiBs8YqqY38urdVRPI+3lMv5AEt38CdMTEx/KhGP2nI2hC8LGxkBR/7 rjHKNyRsED52v/2kao0LaP1KX/hBKXCDQjIXSjl2ycJfrlMxS68oCIqBgpJQBCq+7j+X jiZ9pHzo8XPitZHx5NPrf5+8lkhbJPTUM+2/oee3UcyfUrBrBpczA/yd3pH+6PEShtNP R1kA== X-Gm-Message-State: ACgBeo1jsfKz5fSu8dGPFapzkgLVhl2a8MxiPSTvwxAWvjKGvdO9CV1I Wmf8A8CsicKikcOXDJwFp0FTl4J9PZn8WunD X-Received: by 2002:a17:907:3ea8:b0:730:9756:7c81 with SMTP id hs40-20020a1709073ea800b0073097567c81mr1600543ejc.726.1659622642250; Thu, 04 Aug 2022 07:17:22 -0700 (PDT) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com. [209.85.221.51]) by smtp.gmail.com with ESMTPSA id l18-20020a1709063d3200b006fe0abb00f0sm357479ejf.209.2022.08.04.07.17.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Aug 2022 07:17:13 -0700 (PDT) Received: by mail-wr1-f51.google.com with SMTP id l4so25452121wrm.13 for ; Thu, 04 Aug 2022 07:17:11 -0700 (PDT) X-Received: by 2002:a5d:5889:0:b0:21d:bccd:38e3 with SMTP id n9-20020a5d5889000000b0021dbccd38e3mr1554422wrf.659.1659622631172; Thu, 04 Aug 2022 07:17:11 -0700 (PDT) MIME-Version: 1.0 References: <1659608930-4370-1-git-send-email-quic_kalyant@quicinc.com> In-Reply-To: <1659608930-4370-1-git-send-email-quic_kalyant@quicinc.com> From: Doug Anderson Date: Thu, 4 Aug 2022 07:16:57 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [v1] drm/msm/disp/dpu1: add support for hierarchical flush for dspp in sc7280 To: Kalyan Thota Cc: dri-devel , linux-arm-msm , freedreno , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Rob Clark , Stephen Boyd , Vinod Polimera , Dmitry Baryshkov , "Abhinav Kumar (QUIC)" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 4, 2022 at 3:29 AM Kalyan Thota wrote: > > +static void dpu_hw_ctl_set_dspp_hierarchical_flush(struct dpu_hw_ctl *ctx, > + enum dpu_dspp dspp, enum dpu_dspp_sub_blk dspp_sub_blk) > +{ > + uint32_t flushbits = 0, active = 0; nit: don't init to 0 since you just override below. > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h > index ac15444..8ecab91 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h > @@ -160,6 +160,9 @@ struct dpu_hw_ctl_ops { > uint32_t (*get_bitmask_dspp)(struct dpu_hw_ctl *ctx, > enum dpu_dspp blk); > > + void (*set_dspp_hierarchical_flush)(struct dpu_hw_ctl *ctx, > + enum dpu_dspp blk, enum dpu_dspp_sub_blk dspp_sub_blk); > + Given that most of the items in this list have kernel-doc comments explaining them, probably you should have one for your new one too. -Doug