Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5315992rwe; Tue, 18 Apr 2023 05:24:26 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcSrWuzHZ6w7hUfWij1Te3W2UxoxAy+83thR3Hy+LfhwXR3x0L/0pFb/+0hjxp2PWF+KjG X-Received: by 2002:a17:90b:4c8f:b0:247:e54:2ca4 with SMTP id my15-20020a17090b4c8f00b002470e542ca4mr2031203pjb.19.1681820665811; Tue, 18 Apr 2023 05:24:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681820665; cv=none; d=google.com; s=arc-20160816; b=sO0PhwQ5mIW0SytWLuyxNiT7DORGEXjCxf+9eZHf51CDTkckVt6tCW3i4gZOkEeXGh gu7FXN6Ko7S/0Z5N8XWjmIvQWJc4F4+pDxLsSVb2ZBYiulcqGkYJb0eRcYuI+51YrBRN 4hmQL61jFwT66zZ7HJRY5x0iGlxkBnDCWtGlAfkVuXlQk8yTCq9FV3gOTO40u5wdjnL6 qt1PlN5RFHCwO740JjAMtSebumoqfsririnBGVAq4iZeGdmgIlyeKkSMr5zNMj58hfF/ KFXiAxC7luP+ln0uvTuDJ2nWdnKjoq/BOOvyRevZsH3cqi6zZyFffSxeNZ0SW+zThxGJ d9mA== 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=GVRsjaRsIonMFl6duGqwi/hSLT82+JYeVQ472VvmnvA=; b=l6dY7eTMAQZsVixnO9wln/u+0kv2eoHkvyDTJ6TYEqL5OkoFZ2YnQRPfJgSKpRGcxf ZlJlh7fwIdBL2lEZHR4kT0aeuooWc99H00PkJJfhVwkPtWAzVrb05NW/yYPtEXukBgOC rJMZzT4Bt/X7EatmuJBexuReGTj0VOae+SqD2HgJrPUsNsqKwnnxxTZeISEYNjUKfypf X33fMbRjaJJHFibLM2oHB95hWY7+0opmVupU41RtDFBibvz4/XwD27pk8o7qb3agMM5S /5Q5HtLkdlAtMNXekEEh4WJrVnbVx6uFCTitNBMA67UdE1mNIje4IIQgnSc1fMXVF0Hn wiCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uSC5tADO; 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 4-20020a630704000000b0051aaccf1e13si1445577pgh.724.2023.04.18.05.24.05; Tue, 18 Apr 2023 05:24:25 -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=uSC5tADO; 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 S230407AbjDRMRZ (ORCPT + 99 others); Tue, 18 Apr 2023 08:17:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbjDRMRU (ORCPT ); Tue, 18 Apr 2023 08:17:20 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE94565B0 for ; Tue, 18 Apr 2023 05:17:17 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4edc114c716so1712931e87.1 for ; Tue, 18 Apr 2023 05:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681820236; x=1684412236; 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=GVRsjaRsIonMFl6duGqwi/hSLT82+JYeVQ472VvmnvA=; b=uSC5tADOilhzZ3cCvrYl5beBipKrfMF6mxHAalDeRqlF3I33Gj6ICma3sZx+0Q5mpF 8QEBMwqojjKdUrnXRpXd7f7qMpsRNQ9dE3aVVE8fK+Nuhn3nmbyu6D6kwDpN9JMhRSeE RE/3jojZ0dbXQEBbOFCf0cPE9SOWWuMDqzk0cwfLhDDG3js0dKeanxkW+i9gfmo9uboj VP7+GIcvh3P1OQGn207NB+b63E76KGlIsV4YVA4Y2+CqSEA9kfycyeSt9BYgLdZvM0DI UtmwaDT13Ija+j3robnfPiLR17C5UKSLx/Fots8s0ZavsJMAQy0F5bGdMi16NeillLF7 OBBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681820236; x=1684412236; 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=GVRsjaRsIonMFl6duGqwi/hSLT82+JYeVQ472VvmnvA=; b=KXgJ3kmZ0hSpIRk2+4zYrq/D7lIymUz6rG6n8mfva6KmaemGvFxtLuT7AegzzOLkWG JZWiwFtt1UL8TJuSdKbdxeNGhf/dWc6vftkszx5Dk5w76r+TpmMw9VrOsufq1U3Kkule JbGMctyzSpXlJbaARuNVJ6an3rPyQvOERwGhPUHwgquUr1rMyHLb17HPri4e8957m8mx wiOn67GrTFKcfnb8zOngLPo1OjjWNvCM1WMCRWwiZ4YuMjrvaY9I8I0c8LWbQ//o1ymz 0Zg/GQ9KuXFR+MOUJOXDve55/29leyu9kxElo0h7naq7foSdS/VQvO93PdgLrSLwD4/F KxvA== X-Gm-Message-State: AAQBX9fGjqUtU1DcrgNpyJr/PEh4w+nh60/7fhYJd/1gp7vDJXsLfGNQ fyle0MqPlGJBOUYnuIpkOLnQqg== X-Received: by 2002:ac2:4186:0:b0:4dd:ac8d:671f with SMTP id z6-20020ac24186000000b004ddac8d671fmr3154544lfh.34.1681820236212; Tue, 18 Apr 2023 05:17:16 -0700 (PDT) Received: from [192.168.1.101] (abyj144.neoplus.adsl.tpnet.pl. [83.9.29.144]) by smtp.gmail.com with ESMTPSA id q13-20020ac25a0d000000b004eafa060a6fsm2351324lfn.145.2023.04.18.05.17.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Apr 2023 05:17:15 -0700 (PDT) Message-ID: <49faf870-0445-6797-97be-890f94bfab60@linaro.org> Date: Tue, 18 Apr 2023 14:17:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v2 04/17] drm/msm/dpu: Fix PP_BLK_DIPHER -> DITHER typo Content-Language: en-US To: Marijn Suijten , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Adam Skladowski , Loic Poulain , Bjorn Andersson , Kuogee Hsieh , Robert Foss , Vinod Koul , Rajesh Yadav , Jeykumar Sankaran , Neil Armstrong , Chandan Uddaraju Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jordan Crouse , Archit Taneja , Sravanthi Kollukuduru References: <20230411-dpu-intf-te-v2-0-ef76c877eb97@somainline.org> <20230411-dpu-intf-te-v2-4-ef76c877eb97@somainline.org> From: Konrad Dybcio In-Reply-To: <20230411-dpu-intf-te-v2-4-ef76c877eb97@somainline.org> Content-Type: text/plain; charset=UTF-8 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,URIBL_BLOCKED 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 17.04.2023 22:21, Marijn Suijten wrote: > SM8550 only comes with a DITHER subblock inside the PINGPONG block, > hence the name and a block length of zero. However, the PP_BLK macro > name was typo'd to DIPHER rather than DITHER. > > Fixes: efcd0107727c ("drm/msm/dpu: add support for SM8550") > Signed-off-by: Marijn Suijten > --- lol Reviewed-by: Konrad Dybcio Konrad > drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 16 ++++++++-------- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 +- > 2 files changed, 9 insertions(+), 9 deletions(-) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h > index 9e403034093f..d0ab351b6a8b 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h > @@ -132,28 +132,28 @@ static const struct dpu_dspp_cfg sm8550_dspp[] = { > &sm8150_dspp_sblk), > }; > static const struct dpu_pingpong_cfg sm8550_pp[] = { > - PP_BLK_DIPHER("pingpong_0", PINGPONG_0, 0x69000, MERGE_3D_0, sc7280_pp_sblk, > + PP_BLK_DITHER("pingpong_0", PINGPONG_0, 0x69000, MERGE_3D_0, sc7280_pp_sblk, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 8), > -1), > - PP_BLK_DIPHER("pingpong_1", PINGPONG_1, 0x6a000, MERGE_3D_0, sc7280_pp_sblk, > + PP_BLK_DITHER("pingpong_1", PINGPONG_1, 0x6a000, MERGE_3D_0, sc7280_pp_sblk, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 9), > -1), > - PP_BLK_DIPHER("pingpong_2", PINGPONG_2, 0x6b000, MERGE_3D_1, sc7280_pp_sblk, > + PP_BLK_DITHER("pingpong_2", PINGPONG_2, 0x6b000, MERGE_3D_1, sc7280_pp_sblk, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 10), > -1), > - PP_BLK_DIPHER("pingpong_3", PINGPONG_3, 0x6c000, MERGE_3D_1, sc7280_pp_sblk, > + PP_BLK_DITHER("pingpong_3", PINGPONG_3, 0x6c000, MERGE_3D_1, sc7280_pp_sblk, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 11), > -1), > - PP_BLK_DIPHER("pingpong_4", PINGPONG_4, 0x6d000, MERGE_3D_2, sc7280_pp_sblk, > + PP_BLK_DITHER("pingpong_4", PINGPONG_4, 0x6d000, MERGE_3D_2, sc7280_pp_sblk, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 30), > -1), > - PP_BLK_DIPHER("pingpong_5", PINGPONG_5, 0x6e000, MERGE_3D_2, sc7280_pp_sblk, > + PP_BLK_DITHER("pingpong_5", PINGPONG_5, 0x6e000, MERGE_3D_2, sc7280_pp_sblk, > DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 31), > -1), > - PP_BLK_DIPHER("pingpong_6", PINGPONG_6, 0x66000, MERGE_3D_3, sc7280_pp_sblk, > + PP_BLK_DITHER("pingpong_6", PINGPONG_6, 0x66000, MERGE_3D_3, sc7280_pp_sblk, > -1, > -1), > - PP_BLK_DIPHER("pingpong_7", PINGPONG_7, 0x66400, MERGE_3D_3, sc7280_pp_sblk, > + PP_BLK_DITHER("pingpong_7", PINGPONG_7, 0x66400, MERGE_3D_3, sc7280_pp_sblk, > -1, > -1), > }; > 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 03f162af1a50..ca8a02debda9 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > @@ -491,7 +491,7 @@ static const struct dpu_pingpong_sub_blks sc7280_pp_sblk = { > .len = 0x20, .version = 0x20000}, > }; > > -#define PP_BLK_DIPHER(_name, _id, _base, _merge_3d, _sblk, _done, _rdptr) \ > +#define PP_BLK_DITHER(_name, _id, _base, _merge_3d, _sblk, _done, _rdptr) \ > {\ > .name = _name, .id = _id, \ > .base = _base, .len = 0, \ >