Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1610604rwd; Thu, 18 May 2023 14:43:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5yoZiz93nPY4tL5Y/CfIYHyYn5k/CWX8LlOwraZEgTCcww9Txjo69RsoPjE4yus7dioOyf X-Received: by 2002:a05:6a00:a21:b0:64d:2da5:4d2d with SMTP id p33-20020a056a000a2100b0064d2da54d2dmr275509pfh.25.1684446233892; Thu, 18 May 2023 14:43:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684446233; cv=none; d=google.com; s=arc-20160816; b=0Qa1NzWN7WMHrrwZnhJnK6CQDadRJQQcT4Iq4KK7Yta+EWoeBtsJ5SFxtJPUXqcWnF C+FGLOXrfOjOCREGx/I0sRbRm+oIjL8Z4zX4MVB+UYmyas/t2g0qtAMhKO7ECd1UW09N Dr66DttrgW8xFyLLIWEMWKVRLwyh2kxmaz6plRz+M7INS2tEuPM/5PBOqXtwxyOjodu7 VnpomA3cwrsLnwwqbBze0Z3QBTT4E8JQedGc2s38EfpZoY91eKUGKUuRIPkcIa5UtWJf eEHCnNmMnbZ5sT0YKim3wI/lt6MTBWi//HMJjz77SwQWQzr2/uE6VaFh6q1Zgj3buKEs mlcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=t5y+SJ44ed16wCOTDLmLDzgIx2JaLtLRHFSw4/rCRS4=; b=QpsiK6UBr3B92n48s7Z6gUyGDJ9Z9VlhB7bU85PX81ajy/qJgSbusX8fnZpDBp0whD Uo1lF9LbUBwPtphrYsfHrUTtGrFmxygbirdELgK4PYjQFOp0S5gaM+zQLawUkbp27TYg 23396CEeQ3QdeJgc0PAvQdxV8zqozzG/osWpkHijFTddSeR/df9Krxg578zebpKIolXm JnvMwLi+0smlKE7UsclOMmxAHlqcdGSwdmflSj3kweOpEiVBuywMTaJYl0tyfefNsF7q wZBRt+esEDu4Gyt1PRc0xvbkYVyWsUmyQoZAo3ki/6F3WP1Ss4PLM15xTz7UJhuwv4FQ JYtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rdrjl1ad; 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 n127-20020a632785000000b0050b8a7635dfsi2383172pgn.295.2023.05.18.14.43.39; Thu, 18 May 2023 14:43:53 -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=Rdrjl1ad; 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 S229714AbjERV0k (ORCPT + 99 others); Thu, 18 May 2023 17:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjERV0i (ORCPT ); Thu, 18 May 2023 17:26:38 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6932E6E for ; Thu, 18 May 2023 14:26:36 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4f13c577e36so3005729e87.1 for ; Thu, 18 May 2023 14:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684445195; x=1687037195; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=t5y+SJ44ed16wCOTDLmLDzgIx2JaLtLRHFSw4/rCRS4=; b=Rdrjl1adp6g2FuL8l3mXU/M/JnPyPv9h9UaqAjcAT1BpEzKeS0JctH+d6BAHqfZpb3 lWJwAi1iEO16Dc5hIQyQ1dbfTkXyuiiuhpm8wn9le/4dqMpDvTfIpxJmevoMFfnfDrko OHVjR2lwXz8eWHefFKwcSyJ8hOz8LOnbXxGtKeUll7PNYNQpV6zfpUelppZpZyNp8+kS 2d1PePsx8usr+8+inEeziFPWpHOrqNKc7l8pNiRDdkLXxyv1DyqJvl14Zju3a2QeP9iZ 5iBZFURpGWEHMEu9VseRhgFs5hmgpm3I2EC2MEcwRgeWXaRrULBYzhw6WQkP2pa2tYB7 SdEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684445195; x=1687037195; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t5y+SJ44ed16wCOTDLmLDzgIx2JaLtLRHFSw4/rCRS4=; b=j2RjxQfImOrW7CedMAWmqp7NDzY96jt0mip73b9NctsQLTp6zFApvuUoe97Pu4RFxX gc91zi7kbaTyVbn3Yq/AxoznBlaIU+pZXjBA06s+DvJ4u+MW5sQKHQLYoc5XU9VGjkJv iGioiN2LJlq2j7aGfsAsJCfxLhnSnetvIzsbgux/CmX4Z22gSlfdfpE4lvDwEx3PBvuS 0e+bzZvkIXNvuvXGHt8xm/izQmRnLFrxebIvL94yhCX+424yJCz/iMhxIGylfbPweS7K d8muwFxeK4QJM6thML0uOsKH1QmNtd68fcDLsrHTfB1sU6Z/KWLvTMgfD5wlHgvPA6v5 rx4Q== X-Gm-Message-State: AC+VfDz9/G7lMJQBfPDKIY3ZOy/0nsfezB0hqnYLdN7QxnIdaL7jvb3f D1CeQX4B2Q+ybePu1gdc4KNKoA== X-Received: by 2002:ac2:4c39:0:b0:4db:964:51b5 with SMTP id u25-20020ac24c39000000b004db096451b5mr74987lfq.41.1684445195029; Thu, 18 May 2023 14:26:35 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id b20-20020ac247f4000000b004eaeb0a984csm369403lfp.88.2023.05.18.14.26.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 May 2023 14:26:34 -0700 (PDT) Message-ID: <2c688487-a5b1-155c-f73a-69358d03e478@linaro.org> Date: Fri, 19 May 2023 00:26:33 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v3 4/4] drm/msm/dpu: drop DSPP_MSM8998_MASK from hw catalog Content-Language: en-GB To: Marijn Suijten , Abhinav Kumar Cc: freedreno@lists.freedesktop.org, Rob Clark , 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 References: <20230428223646.23595-1-quic_abhinavk@quicinc.com> <20230428223646.23595-4-quic_abhinavk@quicinc.com> From: Dmitry Baryshkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 18/05/2023 22:41, Marijn Suijten wrote: > 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 And, I think, a comma is missing before DSPP_MSM8998_MASK. Note: since the English language is not native for most of the developers, I usually don't nitpick on these issues provided we can understand the message without too much trouble (and the mistake doesn't stand out aloud, begging for it to be fixed). I will fix missing articles when applying, if I don't forget. > >> 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 >> -- With best wishes Dmitry