Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1526564rwd; Thu, 18 May 2023 13:16:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5LTrF5OeIWRsR5tBDUEjhiODg0H4zYLYhUydKv8n5wKEXH9xmhKaQ/t+Y1AOjkrvWeBXEn X-Received: by 2002:a17:902:db86:b0:1a2:749:5f1a with SMTP id m6-20020a170902db8600b001a207495f1amr3852489pld.26.1684440999919; Thu, 18 May 2023 13:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684440999; cv=none; d=google.com; s=arc-20160816; b=sNz9gY2B78qKhqtcLlchKlJ8NFbWFJy0Hvl6rzNgZ2HpVsc3GhQEOvhcrwRYwbM0Ej tYp89DcO8ypulXwm5GvfpS4fmrjIozlouKtFzC6hIGUYg/5Hh+U67r66tGuYVGC4Aq4C rzlFuSeA8BQGnuhbuDARLOgg7JQjvve/6oBsxAVhsysfZlpjGz72jf1XT/2iYQi+ogt5 Hv4gNGTdos6oWowMnMj3hzZTjhIxsdfZrx4kE5mjijkeBV2rWSXaJf5q0MRVUPsqBXh9 i3HAUHtDK9OPU9Xsh+uW9g94irJg2VIn466yahHjLImwyk4SOqO8yQmquXcTLMGHGe0D 7UIw== 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=IDgWvgJeWI8T6veXkmC22IEpvLONlZytQAXEQi5DwRg=; b=un6tLujmjp7zb2phMvi+0b+JGTktgq0OGr7eKisbvlKuQKNriCWHJy16Hp3ZNt7MRX Hc49dFWodu0NAnBFqNhFLdZ+RNjkEBcNlsj/P5/Gs2JwaFIU+hJIiZviyjefKcE961Hr rigSabMmtjJbDezGplnq3JxXlhLa+w01QzWywHKlXCWKb8isiyMGrmAuQ/WQqBWgG608 VyMKu5GhuGkm8UHh0RuQo71hkkXTRbAhJkSv2kYPLd8sfdUjcWg9CQ/fBpqPSG2s+DVE qafZuVLkq7k4oFIR7dIDKP/8B32vXAoix5sxyK/i9kUFBUJXS9z+Up9+YHhq9sEeR25s Wv6Q== 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 m2-20020a170902768200b001a920be2722si1919842pll.610.2023.05.18.13.16.27; Thu, 18 May 2023 13:16:39 -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 S229914AbjERTlu (ORCPT + 99 others); Thu, 18 May 2023 15:41:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjERTlt (ORCPT ); Thu, 18 May 2023 15:41:49 -0400 Received: from relay02.th.seeweb.it (relay02.th.seeweb.it [5.144.164.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 413C7E67; Thu, 18 May 2023 12:41:48 -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 996A12009B; Thu, 18 May 2023 21:41:46 +0200 (CEST) Date: Thu, 18 May 2023 21:41:45 +0200 From: Marijn Suijten To: Abhinav Kumar Cc: freedreno@lists.freedesktop.org, Rob Clark , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, quic_jesszhan@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 4/4] drm/msm/dpu: drop DSPP_MSM8998_MASK from hw catalog Message-ID: References: <20230428223646.23595-1-quic_abhinavk@quicinc.com> <20230428223646.23595-4-quic_abhinavk@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230428223646.23595-4-quic_abhinavk@quicinc.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, 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-28 15:36:46, Abhinav Kumar wrote: > Since GC and IGC masks have now been dropped DSPP_MSM8998_MASK > is same as DSPP_SC7180_MASK. Since DSPP_SC7180_MASK is used more is *the* same > than DSPP_MSM8998_MASK, lets drop the latter. > > Signed-off-by: Abhinav Kumar > Reviewed-by: Dmitry Baryshkov > Reviewed-by: Marijn Suijten > --- > drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 4 ++-- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 -- > 2 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h > index bdcd554fc8a8..a4679f72a262 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h > @@ -127,9 +127,9 @@ static const struct dpu_pingpong_cfg msm8998_pp[] = { > }; > > static const struct dpu_dspp_cfg msm8998_dspp[] = { > - DSPP_BLK("dspp_0", DSPP_0, 0x54000, DSPP_MSM8998_MASK, > + DSPP_BLK("dspp_0", DSPP_0, 0x54000, DSPP_SC7180_MASK, > &msm8998_dspp_sblk), > - DSPP_BLK("dspp_1", DSPP_1, 0x56000, DSPP_MSM8998_MASK, > + DSPP_BLK("dspp_1", DSPP_1, 0x56000, DSPP_SC7180_MASK, > &msm8998_dspp_sblk), > }; > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > index 791a6fc8bdbf..efd466f6122b 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > @@ -91,8 +91,6 @@ > > #define MERGE_3D_SM8150_MASK (0) > > -#define DSPP_MSM8998_MASK BIT(DPU_DSPP_PCC) > - > #define DSPP_SC7180_MASK BIT(DPU_DSPP_PCC) Should we add preliminary parenthesis around this? - Marijn > > #define INTF_SDM845_MASK (0) > -- > 2.40.1 >