Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2083422rwb; Thu, 8 Dec 2022 20:05:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ieJXpzsOP4g7dvwO7ViPJH5zinaBQqs2VzVfGIn5D8tdY0QDQJQstYx4OT0lQ4ylItJBS X-Received: by 2002:a05:6402:501c:b0:463:a84c:6805 with SMTP id p28-20020a056402501c00b00463a84c6805mr4508849eda.15.1670558710536; Thu, 08 Dec 2022 20:05:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670558710; cv=none; d=google.com; s=arc-20160816; b=KFhbThlQaPeA/NRyFArfNh41N6Cvq7VkKHufQ+nlqj2OM6br/2hWsitbR5OIQOu55+ QFaLLUBeB2LexntDp6yBmIijD5uEcY63eP4EZ6TOOwcYrZDnR0EsaUMrjTzOIkK5Tmgs 2jqq7mZQFgP/bmu0GWKXEi31BRMV+8bd8ktu5OQzuP7RgaL5iHDAxojTEp60tGS/IzZp mnngRnH3tWr8tOHBmZm9wRIzPq56m1mBAxEmtAxwOnRYJ1JnueuVtRvihOsMYHrLeZGF E+v5COSCHyET556eu7SHm4tO7Z82WdbnMXZoMIObcuQ6h993AOooCeNE5uSXNpGpmODY wlvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=53YW0ORFneqyG93srJ8jF+XX7zmPAnIboOzrEPTG0Ts=; b=momqLG4UREbkVQrzskE/S+HbuX24IPG+DKnWXTf1GQ7fLDSGLw9chyt8T2JCSanMRa jmOuPBonRp2vU5bIIErTbm7O6sOPgoa/smoTw7eDLR6qBa5S0ISBRP6WIi7tVNEGgYPw uk32vpEkNKyXiycnlFkWOl2nePX4JF+Fk+4WOKqretZdReg8e+MLsy5l2uMV3jvlMITz BXCK7sYgA0HdzXvEds3/D4KcxHJ4LkSYioSw/S7G/QXIzV49DRXdFbeX7fJ3iyAHyrYu 8W+NbWDvjBi9FbhIP97XArW5gCqgMc0Ltz7nKsSiTS3FqjFtqPNqAs30wC/31PLDxWgK cLaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kali.org header.s=google header.b=THue66vB; 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=kali.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v14-20020a056402184e00b0046b0dedf5d5si447038edy.199.2022.12.08.20.04.53; Thu, 08 Dec 2022 20:05:10 -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=@kali.org header.s=google header.b=THue66vB; 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=kali.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229696AbiLICt0 (ORCPT + 73 others); Thu, 8 Dec 2022 21:49:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbiLICtY (ORCPT ); Thu, 8 Dec 2022 21:49:24 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BC9B7124A for ; Thu, 8 Dec 2022 18:49:23 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id fc4so8392735ejc.12 for ; Thu, 08 Dec 2022 18:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kali.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=53YW0ORFneqyG93srJ8jF+XX7zmPAnIboOzrEPTG0Ts=; b=THue66vB24/bYK1OKRCFn3bh/J/RhSIiO/22Xzu3S1OMJvLXwxUmZzaqbERTDmNPxX QG0p0q4606ivku/eGXQWQOeiIDGlgB5VSdhbxtsaFHyeVmlMcQ41A6JCmWrIFMjeLbed 1QPWt9QMzlb32nmtD26qU5ryEWB5T3z82YP51rFbEtE90bFRGxb4WH0CwWFZ9sNZBDie YpGntb2COBf6JNsjRbynRwGQ5E9OEJXMlPt6aroZeRuLOjBeyF6GVdtPNDf/rxNqW9gD L5jh4FvWCbafrPqPi9eRB4EyDyH9EMgnUDC9O/kvvfbe8z/Ww1BknWX/k4YRHHKzjFg+ S5oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=53YW0ORFneqyG93srJ8jF+XX7zmPAnIboOzrEPTG0Ts=; b=QS/gYd//BFk6rb9eP7eWCYuCVDcJQ8EEsaCIWLiPh3IpzudabPE1HT0CaA+/gzbt5W WvN8Hg6k+5/SCviC7l+smmklUoRM12VrRQWZzUnIKPkK4hoNQTnBngPsj4Kjs0COw5xp HAPwWgyRzWEw6Yddp2CoaYWRAysQItBBuQKRpo8i9ewMAATIZ3cfzQbZb2cmrVdk+KPP qeGC06xK6CgLTZnJXg+3haBsXB9lkqpAiSqnp/dJY9L9B/K/XVQ21nHvRmDKLf8e0lYs wdRfLYFUTpYOikaJe8T8DH61/l67OKzhwnNp1MkIbRMy0pAXNUEvcI7nKBdrdc8oyMAs qjrA== X-Gm-Message-State: ANoB5pnP2qbTiPO42K4EgXk5oyCal2y5r5wYJZmyTOV3ZdCfD2H8Tzfh vvf4c+y/KFpbDF2tWaMT/C/8SIpyROyAjQEbKv3RmQ== X-Received: by 2002:a17:906:c44a:b0:7c0:d6bb:fd7 with SMTP id ck10-20020a170906c44a00b007c0d6bb0fd7mr18360425ejb.726.1670554161785; Thu, 08 Dec 2022 18:49:21 -0800 (PST) MIME-Version: 1.0 References: <20221207220012.16529-1-quic_bjorande@quicinc.com> In-Reply-To: <20221207220012.16529-1-quic_bjorande@quicinc.com> From: Steev Klimaszewski Date: Thu, 8 Dec 2022 20:49:10 -0600 Message-ID: Subject: Re: [PATCH v5 00/12] drm/msm: Add SC8280XP support To: Bjorn Andersson Cc: Dmitry Baryshkov , Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Kalyan Thota , Jessica Zhang , Kuogee Hsieh , Johan Hovold , Sankeerth Billakanti , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Wed, Dec 7, 2022 at 4:00 PM Bjorn Andersson wrote: > > This introduces support for the SC8280XP platform in the MDSS, DPU and > DP driver. It reworks the HDP handling in the DP driver to support > external HPD sources - such as the dp-connector, or USB Type-C altmode. > > It then introduces the display clock controllers, mdss, dpu and > displayport controllers and link everything together, for both the MDSS > instances on the platform, and lastly enables EDP on the compute > reference device and 6 of the MiniDP outputs on the automotive > development platform. > > > The patches was previously sent separately, but submitting them together > here as they (except dts addition) goes in the same tree. > > Bjorn Andersson (12): > dt-bindings: display/msm: Add binding for SC8280XP MDSS > drm/msm/dpu: Introduce SC8280XP > drm/msm: Introduce SC8280XP MDSS > dt-bindings: msm/dp: Add SDM845 and SC8280XP compatibles > drm/msm/dp: Stop using DP id as index in desc > drm/msm/dp: Add DP and EDP compatibles for SC8280XP > drm/msm/dp: Add SDM845 DisplayPort instance > drm/msm/dp: Rely on hpd_enable/disable callbacks > drm/msm/dp: Implement hpd_notify() > arm64: dts: qcom: sc8280xp: Define some of the display blocks > arm64: dts: qcom: sc8280xp-crd: Enable EDP > arm64: dts: qcom: sa8295-adp: Enable DP instances > > .../bindings/display/msm/dp-controller.yaml | 3 + > .../display/msm/qcom,sc8280xp-dpu.yaml | 122 +++ > .../display/msm/qcom,sc8280xp-mdss.yaml | 143 +++ > arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 243 ++++- > arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 72 +- > arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 838 ++++++++++++++++++ > .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 217 +++++ > .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + > .../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 18 + > .../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h | 3 + > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 2 + > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + > drivers/gpu/drm/msm/dp/dp_display.c | 151 ++-- > drivers/gpu/drm/msm/dp/dp_display.h | 1 + > drivers/gpu/drm/msm/dp/dp_drm.c | 3 + > drivers/gpu/drm/msm/dp/dp_drm.h | 4 + > drivers/gpu/drm/msm/msm_drv.h | 1 + > drivers/gpu/drm/msm/msm_mdss.c | 4 + > 18 files changed, 1770 insertions(+), 57 deletions(-) > create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sc8280xp-dpu.yaml > create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sc8280xp-mdss.yaml > > -- > 2.37.3 > Tested on Lenovo Thinkpad X13s Tested-by: Steev Klimaszewski