Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7958257rwb; Wed, 23 Nov 2022 13:13:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf4vY0YnZTH2dofmb/e3rwuGut/NbAvpl4xMGfCceR/BwEba6os4HVJpc5rxmjQEzM0rID7+ X-Received: by 2002:a05:6a00:4104:b0:56c:e37d:ec12 with SMTP id bu4-20020a056a00410400b0056ce37dec12mr10417867pfb.80.1669238023115; Wed, 23 Nov 2022 13:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669238023; cv=none; d=google.com; s=arc-20160816; b=uS7dSZMFnvDbBJ1Fnfb1/+woKag5X8dPQWU/CdWVi9THJVHgLFotOaR3DF9RzgpDtN rV+1VQGeLm494iflHRW6QYobc8ZVI2WG7SGpZWrPJYVNcfwWOIXlOvaeBItAa8wb1nRu riY2/WGd0y7buV+6/GJhYjnHvUoAZ8N2VqBi0jaQ57irjH97pOfZel1UjZbAfpgYpbt9 V4HsTS40fX+qK96hrhA/0+Ucf2ECPy0iVYGCQ90OFbBi7+347i/ZWg439xH/iS9M+81P 2bvLx9mTFNHz3abyGYaWHPO10i3elMvFtcYbv68LLdrW0pMQCdsGXJuZ6jfmhXaOaCEk 86zg== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=dzqt331g8T68TbUv6sgzKml0DHljiiwCg07CtnYVk1Q=; b=1Fpq7gB/B18kVjpB5+M5l+Sj0RkD1eYDB/2KumzQyHSdxLodV0L4dDK2Ss3E5uiXdz 2uAhrjaKQTrLXXsjZ7bUcBJ8HQwq+ulc0FcqpdomSFranV9NJp82JcaZ+ydO020gBa/6 9aqgNd+26E7838kuF/1LXZ32BzeO1EElJbHTfcHcrLTg0GcRRd4fJaIdqTFcCTbDL8rq auwuOXNgUQr0TvV8CBGNLaQvpXwBSTDceO8BHamRTr7EuNQy9UP9xxytgZw9RNk9zQ6D 1fj7OU4890FrEgM1IfgQOssob3qvr78EItrG9HiYijF7x0+Wy4LE6Q4Ubf2HpNkvAChF fP7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rdQUXwcI; 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 g8-20020a170902740800b0017f577878edsi16581603pll.368.2022.11.23.13.13.29; Wed, 23 Nov 2022 13:13:43 -0800 (PST) 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=rdQUXwcI; 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 S237469AbiKWVFt (ORCPT + 90 others); Wed, 23 Nov 2022 16:05:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236489AbiKWVFq (ORCPT ); Wed, 23 Nov 2022 16:05:46 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDE3D99EB7 for ; Wed, 23 Nov 2022 13:05:44 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id b9so22756345ljr.5 for ; Wed, 23 Nov 2022 13:05:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dzqt331g8T68TbUv6sgzKml0DHljiiwCg07CtnYVk1Q=; b=rdQUXwcIP0uEWh7Ulyhf+ky26BtMT19RFWwVxD33CSMIhC7n8iasJ+6WnsStWbiXxR /NLZCPKKcYPaYV0VIQqmFRXFsEqXhHsMvfquefe89IdzwtezCPskcFJMLWu81RllkmtH xe1TMNwABc2QWkw7JDNigKcjKX8uE8dPc69sqZNkNqFZCE3wtn6TMSknX3leib+edtnz dStnp+uThASYAQTfly6odXol9Co5iXJTMoxwKt2w2Zec66aHBHHNlvfwTGbg/wnqGgcL E/9TI/cKucsMIZLCArdgG5BeKCHsyh3iLwx/kJOgFX4zxrItqr1hbf/KFX18i8lqYQEP SHPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dzqt331g8T68TbUv6sgzKml0DHljiiwCg07CtnYVk1Q=; b=TGrXgRt/9g/rnbQIub4hUpHqCMMeWOqn/sQ7uuyzlGxtiKCP/bevhwGj1/SeppWZQX 5ifSUShpGYIZgsTBj0jVkkMXnWW5S7fBIjnxM32Zybyut2G6JiA21pk8dsi7BYuvJ2NR syabqUsMlw4tPREyJlf+fXuiXuBfIMGB1eonWXexpFQ5hKtsbqxoJ0fz+p31a/fTv8wc dy47fUXIW502g7+/aegmEI+Iois3MDQiQRmodGzhc2XAXT895s1onLNc9Nc0+eKh4A7J 8GwCFNCj/sDs6kqfo7h0Ey2VSJ1mIKWVDD6kTWV9YBHo8F12xX6GaQP1H9k0fXsN7yGy 51UQ== X-Gm-Message-State: ANoB5plNMuvYq56fexblp2dXToPyK+2RIkQSvbuKuFeTF/02o6sdpEl7 fLwzzjCxpYHElrivMIEaP7YqBA== X-Received: by 2002:a05:651c:b0f:b0:277:ba3:ca71 with SMTP id b15-20020a05651c0b0f00b002770ba3ca71mr9097106ljr.146.1669237543343; Wed, 23 Nov 2022 13:05:43 -0800 (PST) Received: from [10.10.15.130] ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 6-20020ac25f06000000b004a91d1b3070sm241096lfq.308.2022.11.23.13.05.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Nov 2022 13:05:42 -0800 (PST) Message-ID: Date: Wed, 23 Nov 2022 23:05:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 2/2] drm/msm/disp/dpu1: add support for display on SM6115 Content-Language: en-GB From: Dmitry Baryshkov To: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Kalyan Thota , Jessica Zhang , AngeloGioacchino Del Regno , Loic Poulain , Adam Skladowski , Stephen Boyd , Jason Wang , Vinod Polimera , Vinod Koul , Douglas Anderson , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221120133744.24808-1-a39.skl@gmail.com> <20221120133744.24808-3-a39.skl@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 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 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 23/11/2022 01:54, Dmitry Baryshkov wrote: > On 20/11/2022 15:37, Adam Skladowski wrote: >> Add required display hw catalog changes for SM6115. >> >> Signed-off-by: Adam Skladowski >> --- >>   .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c    | 87 +++++++++++++++++++ >>   .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h    |  1 + >>   drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c       |  1 + >>   drivers/gpu/drm/msm/msm_mdss.c                |  5 ++ >>   4 files changed, 94 insertions(+) >> > > [skipped] > >> diff --git a/drivers/gpu/drm/msm/msm_mdss.c >> b/drivers/gpu/drm/msm/msm_mdss.c >> index 6a4549ef34d4..86b28add1fff 100644 >> --- a/drivers/gpu/drm/msm/msm_mdss.c >> +++ b/drivers/gpu/drm/msm/msm_mdss.c >> @@ -280,6 +280,10 @@ static int msm_mdss_enable(struct msm_mdss >> *msm_mdss) >>           /* UBWC_2_0 */ >>           msm_mdss_setup_ubwc_dec_20(msm_mdss, 0x1e); >>           break; >> +    case DPU_HW_VER_630: >> +        /* UBWC_2_0 */ >> +        msm_mdss_setup_ubwc_dec_20(msm_mdss, 0x11f); >> +        break; > > According to the vendor dtsi the sm6115 is UBWC 1.0, not 2.0 > > Could you please doublecheck? > > Looks good to me otherwise. After doublechecking: Reviewed-by: Dmitry Baryshkov > >>       case DPU_HW_VER_720: >>           msm_mdss_setup_ubwc_dec_40(msm_mdss, UBWC_3_0, 6, 1, 1, 1); >>           break; >> @@ -509,6 +513,7 @@ static const struct of_device_id mdss_dt_match[] = { >>       { .compatible = "qcom,sc7180-mdss" }, >>       { .compatible = "qcom,sc7280-mdss" }, >>       { .compatible = "qcom,sc8180x-mdss" }, >> +    { .compatible = "qcom,sm6115-mdss" }, >>       { .compatible = "qcom,sm8150-mdss" }, >>       { .compatible = "qcom,sm8250-mdss" }, >>       {} > -- With best wishes Dmitry