Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15895035rwd; Mon, 26 Jun 2023 02:54:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4AURy/edwOtqfEyKyefZPaLj0TvbjTd2LiSvqCx01LaOtg7cRSczJ9JYJSJLTCjVpB3nXk X-Received: by 2002:a05:6402:2d1:b0:51c:d01d:ce7 with SMTP id b17-20020a05640202d100b0051cd01d0ce7mr4635181edx.33.1687773268717; Mon, 26 Jun 2023 02:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687773268; cv=none; d=google.com; s=arc-20160816; b=C94bvCAqtsIcBh7JIAKgPr9is5UlAcuzEEq9QMFEhrhu7xPii/Qg2x2Vc06ihEO2Rm wAFquvYgnJHHePBJlNyFJoVjks70JBRdFvXXXJBG+sjGmGHvui/2OpiYZoMuYxNHWs77 eleFqiTyg/MPIM+/KUD94wBNkTjaYk0s8/+PFi8SFMaUKTP08be6/AfbvdfflyV5ymzR 3anfhaoC5voi5GyQYDbH+VHjqBzkjsrTphhXuIKQtuWzyP79C8aJMklrUqQ6IWjqyJKv TT3lmdNPmSkHiPzryMaoJJdY3EFKKcSwb4a7dcZrmPV3HggthW58AmWgRTPIxzjgJkcQ NraA== 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=19bT2Ez/4QvTgxknmIPFBTrHf6pxmJEHTkf/9uC/xL8=; fh=ZKeJxF8NKmly4ekDocD9UfUIvncSbW0VzQkx28GmKCg=; b=p5wZOb/UhfX9+OeH1HAFeBSP9KXS+awudf6+fsXX+F2J6tkJoc0JrKUUzOQYcla222 y+/Koe4dExeSaRA/MnI1A06Gs52y/jhkULgmpGseHm45QEOKwy185kquyTu+o/+n4my+ 7RoQ3vKxOO9eZ4YhgzhiXrS7yPDhXp7eRsHcx6HHzvHt5FnTW55bAsfDp6LGD+S9nu7Z vTH4ngpLFFEW/u8F/bU50gpnzL+BMjBz5Z0/d5wkqhX8tIwPObRnlKFkVJnzVEpdCcrH lTu9cu7qDF5PK332oZeLLaMeKiWfmPfxhVzT+AKvzcyG1OGoVnXDcS3w73lxy3/vRe+J o8Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yxSw15Wd; 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 g18-20020a056402181200b0051d96a5ff44si1303296edy.299.2023.06.26.02.54.03; Mon, 26 Jun 2023 02:54:28 -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=yxSw15Wd; 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 S229529AbjFZJlq (ORCPT + 99 others); Mon, 26 Jun 2023 05:41:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbjFZJlp (ORCPT ); Mon, 26 Jun 2023 05:41:45 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 754E9D3 for ; Mon, 26 Jun 2023 02:41:43 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f8735ac3e3so4112683e87.2 for ; Mon, 26 Jun 2023 02:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687772501; x=1690364501; 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=19bT2Ez/4QvTgxknmIPFBTrHf6pxmJEHTkf/9uC/xL8=; b=yxSw15WdZQVN8PNNGw4tN8SV99vD1IzWVIDaV+OmSwHh9ksBGU5lGCZtHTLv7n/g/8 H9SPHpqRGkhlTjlUZ7bKs8YXJ4bM9clccA2bHRBZs6v1tNt+cX5IGOFQMre/EZhdcBhI Q+Ujvfz2WxBbnSMDJ/JmkbR0fbbu9HNTbGFuucGMEGY+fbWxAun2/KNZW79RCDXwCit6 yVsFfwTSc7sRKQ6804vYSzLfWErTg3m5GseeBwVqVDjkwOq+Y+/S6VX4qUaUxOkJEDFD gT2BIpS3l3rCEB14LJDV/Qo/3b8e4eqCWNdRe6m/xbz3s/AgkiP9LTABisSYtWbTh9sW HvOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687772501; x=1690364501; 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=19bT2Ez/4QvTgxknmIPFBTrHf6pxmJEHTkf/9uC/xL8=; b=krB7Coprpvyy1pKEGngJSopv5xdpTS3VoI/ppADfiRff8OR6iIb8XVQgVh5WGR+Xdt d9bstZNbQBxltD8w7s6bVrm7fHL80qCmN5LJOcRxjDERzTioZYDaI6s+JfsDYDqmVQDw 6JA7lQC88QhhdM97537GVv467u99k0ytkjGQA5irWweWHh8bt2dcvYpYFqB1BjHClLry ZggUFf8VwLMHk3Ee4iATs7SOZpLSZsV+h80zu1c5VcYttMp2bCeSadQq5WJ2HBTju3s2 FshfQNxrv5KSOwcikOJ1gO/YCbWkVkRlr9uHH/6qRlQDYy0IiPiWkZnC3w3qGWgoQSo1 iW6Q== X-Gm-Message-State: AC+VfDyNNYCxR96r8hor4hq0XX1Tn79fDhInwFoLLh+oforbkq0o5fH2 Y3LfBi4PFHy207n/gRbba+xu9Q== X-Received: by 2002:a19:ca58:0:b0:4f8:b349:6938 with SMTP id h24-20020a19ca58000000b004f8b3496938mr9703822lfj.65.1687772501651; Mon, 26 Jun 2023 02:41:41 -0700 (PDT) Received: from [192.168.1.101] (abyk179.neoplus.adsl.tpnet.pl. [83.9.30.179]) by smtp.gmail.com with ESMTPSA id f16-20020ac251b0000000b004efae490c51sm1013345lfk.240.2023.06.26.02.41.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jun 2023 02:41:41 -0700 (PDT) Message-ID: <701916b3-388e-8216-f7ae-1837d5895d87@linaro.org> Date: Mon, 26 Jun 2023 11:41:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 00/15] drm/msm: Add SM6125 MDSS/DPU hardware and enable Sony Xperia 10 II panel Content-Language: en-US To: Marijn Suijten Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> <035ffdd2-27e3-99bc-f8a4-41e66685db09@linaro.org> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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 25.06.2023 21:18, Marijn Suijten wrote: > On 2023-06-24 03:42:46, Konrad Dybcio wrote: >> On 24.06.2023 02:40, Marijn Suijten wrote: >>> Bring up the SM6125 DPU now that all preliminary series (such as INTF >>> TE) have been merged (for me to test the hardware properly) >> We should not repeat the same mistake in the future.. Finding a >> balance between releasing early and releasing what we can declare >> working and tested code is hard, but we waaaaaaaay overstayed on >> this one.. > > I don't understand what you mean by "mistake" at all. Yes the DPU > catalog portion of this series sat in my local branch for a very long > time. Yes it had to be rebased on top of conflicts many many times. > > However, that time has also been used to fix and extend DPU where > necessary, instead of submitting a half-broken or half-incomplete > catalog entry... > > Re "we overstayed": you could have asked to clean up and send my patch, > so I don't take this as a mistake on my part as you are completely aware > of my time schedule ;) I didn't mean to pick on you. I just wanted to emphasize that a more upstream-forward approach would have saved us quite some time on the rebasing and cleaning-up front. > >> Konrad >> , and most > > Also here, don't forget to re-quote my message if you break half-way in > the line. Ugh. All the time I've been doing this I thought thunderfox was smart enough to do it for me. Apparently not and you're the 1st one to point that out. Konrad > >>> other conflicting work (barring ongoing catalog *improvements*) has made >>> its way in as well or is still being discussed. >> >>> >>> The second part of the series complements that by immediately utilizing >>> this hardware in DT, and even enabling the MDSS/DSI nodes complete with >>> a 6.0" 1080x2520 panel for Sony's Seine PDX201 (Xperia 10 II). >>> >>> The last patch ("sm6125-seine: Configure MDSS, DSI and panel") depends >>> on (an impending v2 of) my Sony panel collection series [1]. >>> >>> [1]: https://lore.kernel.org/linux-arm-msm/20230521-drm-panels-sony-v1-0-541c341d6bee@somainline.org/ >>> >>> --- >>> Marijn Suijten (15): >>> arm64: dts: qcom: sm6125: Sort spmi_bus node numerically by reg >>> dt-bindings: clock: qcom,dispcc-sm6125: Remove unused GCC_DISP_AHB_CLK >>> dt-bindings: clock: qcom,dispcc-sm6125: Require GCC PLL0 DIV clock >>> dt-bindings: clock: qcom,dispcc-sm6125: Allow power-domains property >>> dt-bindings: display/msm: dsi-controller-main: Document SM6125 >>> dt-bindings: display/msm: sc7180-dpu: Describe SM6125 >>> dt-bindings: display/msm: Add SM6125 MDSS >>> drm/msm/dpu: Add SM6125 support >>> drm/msm/mdss: Add SM6125 support >>> dt-bindings: msm: dsi-phy-14nm: Document SM6125 variant >>> drm/msm/dsi: Add 14nm phy configuration for SM6125 >>> arm64: dts: qcom: sm6125: Switch fixed xo_board clock to RPM XO clock >>> arm64: dts: qcom: sm6125: Add dispcc node >>> arm64: dts: qcom: sm6125: Add display hardware nodes >>> arm64: dts: qcom: sm6125-seine: Configure MDSS, DSI and panel >>> >>> .../bindings/clock/qcom,dispcc-sm6125.yaml | 17 +- >>> .../bindings/display/msm/dsi-controller-main.yaml | 2 + >>> .../bindings/display/msm/dsi-phy-14nm.yaml | 1 + >>> .../bindings/display/msm/qcom,sc7180-dpu.yaml | 1 + >>> .../bindings/display/msm/qcom,sm6125-mdss.yaml | 206 +++++++++++++++++ >>> .../dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 59 +++++ >>> arch/arm64/boot/dts/qcom/sm6125.dtsi | 244 +++++++++++++++++++-- >>> .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_4_sm6125.h | 173 +++++++++++++++ >>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 + >>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + >>> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + >>> drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2 + >>> drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 1 + >>> drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 15 ++ >>> drivers/gpu/drm/msm/msm_mdss.c | 8 + >>> 15 files changed, 712 insertions(+), 25 deletions(-) >>> --- >>> base-commit: 8d2be868b42c08290509c60515865f4de24ea704 >>> change-id: 20230624-sm6125-dpu-aedc9637ee7b >>> >>> Best regards,