Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2392224rwb; Thu, 29 Sep 2022 09:36:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7/HYY64kIW6HI/ZFPbLx5KB2lkCP4dJxavJFB024+pgz6i6SeVH7Ggh7FS566vjgiQ2N3R X-Received: by 2002:a62:e80c:0:b0:54a:817b:a6ac with SMTP id c12-20020a62e80c000000b0054a817ba6acmr4339455pfi.59.1664469363925; Thu, 29 Sep 2022 09:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664469363; cv=none; d=google.com; s=arc-20160816; b=jriJ6BIpKlIIs532O+pOjt9hBEPNSp1qyW9oz1fX5qRlRpVcikeP1eLm6Sy2WuDdYm BXV8upSAAjrRpZ9lCUfAetoMBJ8A4srRPb3iTrgMcZ9g0wVhjIhj3EmVg8+GThcqjKgQ lqP++M1D3841nZT8369Fgs2/f8ALrJKFr/WghFC7+5bBgwLcY6zBGr8RCkM/vTcyqzKY Y/moalVO57j2X99QOeF/FFmDN2HnY3FgA10cJYB3LTGeXrAoaiZNpH6cOWKnl36Ph+GN RfTORzK3Dbuei9XhQO2iT9L8G0Q0Hx8rOZWU/bpu7Xrd/x18v4cU9aGUNTvPuLJk4qLe WUyA== 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=V7QLJZSIzhY9dr2OFvy6n8FCoALGEpJ2vGDHHoAqT/I=; b=k9LnS/ds8AJcuIL48ATh1hp9K9p5Zaue/ThX3U51Ud+5LwwbHlweYMBF1c1VuTlGNf 01bJyS0a8luMDcwSDw4Dxv7EEU301zDXLRqxbpG7CAlnoUszAMID4lv5nmE+9Xojo7Xg PLuP6bVi6DdMTfwkAqCS0TeyeBLg/UnUJ4kqRWF7NMr230V1vvIPKPaEsc4hmXa03xfE a3WSktxMiXZ29AgyAXiB3NjpnOcm6hkuf8FWdLcTtrsDiNj756lKVDLfZ2m+xEao4cHJ 4HETAqdVVBV1zexzZMzLMtxUXj7sjqjRy3xRoOXSCeTVQzZOnakNYk796QMIZbb9beY7 8jPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=U5nWZ+zC; 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 u9-20020a655c09000000b0043961d06a20si134839pgr.592.2022.09.29.09.35.52; Thu, 29 Sep 2022 09:36:03 -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=U5nWZ+zC; 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 S235826AbiI2QNu (ORCPT + 99 others); Thu, 29 Sep 2022 12:13:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236096AbiI2QNo (ORCPT ); Thu, 29 Sep 2022 12:13:44 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C2881D73DA for ; Thu, 29 Sep 2022 09:13:42 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id a13so2681798edj.0 for ; Thu, 29 Sep 2022 09:13:41 -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:subject:date; bh=V7QLJZSIzhY9dr2OFvy6n8FCoALGEpJ2vGDHHoAqT/I=; b=U5nWZ+zCnE6ObM1a1HTcsz5fUlLj7t9tsv+E5+LhXtnz9e4+xVV3xDQOTnsLxYF47t 2ZD30c3FM7IESBJDjIyKdNG1CIQ3oPQsfMBa45Rch5e+Fgg7012WK4guAP0mWiXKAOHg TK5WpXxFwsqpDoq6d1yO9pR9vCsxPFGrv9CUo= 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=V7QLJZSIzhY9dr2OFvy6n8FCoALGEpJ2vGDHHoAqT/I=; b=elC779aLCivt+ijc6g7wDkaf6HH+L8KmfKT4WjVYzWsaO2jrmqPrb7q9kKnR7ARrUk 52rzKe4pYgTKBKahKxljYmo+L4zEtB20WOYyhpk0036BcF6jNaluxiyn3ygNVNJjDsiu 51zWABc+aTWXuUxoWFwkOzoB+QtGWKBp4nQ5vLQWdmd44HKvY+64K/Wf1iiockpB+s51 hDq8eYb4cHq7ej+Qgm2SQAsRkiLauwbrCq61Q3IZJO72cILOJIsA0m7sDqC0mNoRe0u7 svgR3CXXtisBn9CxvapyFpIXRkTFyUlGaSXgPAT43FSfcaQ11tJA+lv6j4WBRZNy/WTr PpmA== X-Gm-Message-State: ACrzQf0P8lKe5OZX4/ZqWzgPAPAesPrbuBOq9RrScgTVNmlj9blhM7DR EAAhB3MeTDYBA+22gsG7uHrpZSDXtA6Zg0VC X-Received: by 2002:aa7:d8cc:0:b0:457:f8be:d5c4 with SMTP id k12-20020aa7d8cc000000b00457f8bed5c4mr4174576eds.261.1664468020269; Thu, 29 Sep 2022 09:13:40 -0700 (PDT) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com. [209.85.221.44]) by smtp.gmail.com with ESMTPSA id qw29-20020a1709066a1d00b0073dddffbe70sm4249558ejc.224.2022.09.29.09.13.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Sep 2022 09:13:38 -0700 (PDT) Received: by mail-wr1-f44.google.com with SMTP id v28so2973189wrd.3 for ; Thu, 29 Sep 2022 09:13:38 -0700 (PDT) X-Received: by 2002:a05:6000:168c:b0:226:f4c2:d6db with SMTP id y12-20020a056000168c00b00226f4c2d6dbmr2895434wrd.659.1664468017868; Thu, 29 Sep 2022 09:13:37 -0700 (PDT) MIME-Version: 1.0 References: <1663157784-22232-1-git-send-email-quic_kalyant@quicinc.com> In-Reply-To: <1663157784-22232-1-git-send-email-quic_kalyant@quicinc.com> From: Doug Anderson Date: Thu, 29 Sep 2022 09:13:20 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [v5] drm/msm/disp/dpu1: add support for dspp sub block flush in sc7280 To: Kalyan Thota Cc: y@qualcomm.com, 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.2 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 Hi, On Wed, Sep 14, 2022 at 5:16 AM Kalyan Thota wrote: > > Flush mechanism for DSPP blocks has changed in sc7280 family, it > allows individual sub blocks to be flushed in coordination with > master flush control. > > Representation: master_flush && (PCC_flush | IGC_flush .. etc ) > > This change adds necessary support for the above design. > > Changes in v1: > - Few nits (Doug, Dmitry) > - Restrict sub-block flush programming to dpu_hw_ctl file (Dmitry) > > Changes in v2: > - Move the address offset to flush macro (Dmitry) > - Seperate ops for the sub block flush (Dmitry) > > Changes in v3: > - Reuse the DPU_DSPP_xx enum instead of a new one (Dmitry) > > Changes in v4: > - Use shorter version for unsigned int (Stephen) > > Reviewed-by: Dmitry Baryshkov > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 +- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 5 +++- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 4 +++ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 35 ++++++++++++++++++++++++-- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h | 10 ++++++-- > 5 files changed, 50 insertions(+), 6 deletions(-) Breadcrumbs: though this is tagged in the subject as v5 I think the newest version is actually "resend v4" [1] which just fixes the Signed-off-by. [1] https://lore.kernel.org/r/1663825463-6715-1-git-send-email-quic_kalyant@quicinc.com