From patchwork Thu Apr 20 22:31:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13219246 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3E6F0C77B7F for ; Thu, 20 Apr 2023 22:32:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nMGg5PHLvRMPbVp0uncLn+Di7M8RJgFjOr3XskjUUkY=; b=Qfs4Vifoimxu/+ SAnsNgS2ORHIL1XWEKP+TdKE5h/JJHk3RjNpla2nV8H/mBBDbQ0EEoHWOOKvco3c3XOa5oaMaLwRd 9ofwhgdqUw3vqErXXbcBpqg6f5aYfh6mfBkSM7EBQ4nJ/hwy4R4gxORrGm4CqQhwD6giMhtf3EPFZ fA2E2LaM6WEoromLour6o8cK3/JKVfrv4g+5RViEyjcktdXvFys4iVYjNbEFtDmuoQgHsPydmigqA CiSG+qyzJtuITAlN5vNuNJUIqc14Hq7m75ElFYQ/Vv2iZWWSEfvt1g3+K0G1V3wHCVXsq0i6xZ9s7 C6qiT3FTL/sMQkjEs3KQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ppcoJ-0097os-1H; Thu, 20 Apr 2023 22:31:27 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ppcoG-0097o3-0y for linux-arm-kernel@lists.infradead.org; Thu, 20 Apr 2023 22:31:25 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4ec81773cf7so934626e87.2 for ; Thu, 20 Apr 2023 15:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682029881; x=1684621881; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=iMnuWFGrM/PJwZOBdpXu7uMemkHRjRrJAO+mKqn+Jmk=; b=aQsMXg/NOus9+GeChd10f8ubKVxsiA78PImgqubhQEHY5WoCIbJu4YybU8rMVoSuld uy6BpwEjlBXe/EP6hWAOmUFcLsbq5W1icBVy9URUpeXff8kscJrMtnZiKt+Ajf5IdIFJ vrRDdKhokID2wOPcpfWBkWd/LRpOW1f/ToPU/5A/isgSkUyUdhl152A2D1aI3KMyv1cj DrsjbhjpflFGNoH+DKn1HqtZIgr/Kj7oV68qQA18810aCMr5F5gvXlVUuIrQvIw9NUCT Tvglrbhi/EtIJ5qDidlI2tZhQIFozwjBpjB4S/c7FBx3iPRjGbBCVs4WtnHoi44/sKU/ rtGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682029881; x=1684621881; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iMnuWFGrM/PJwZOBdpXu7uMemkHRjRrJAO+mKqn+Jmk=; b=K6w4yx91F16iEnas3Hil+Pi/Z58kVl3ERUQVM9MlbKwEY+1ZQSZoxPv5wMKXkpfZnU +GslM8S9/lH7TJImS4AK96CCK+oIUNYxL3vvc/QFLYteYYo8MUsSF6O5J0rZM4by4Bkp wvwaXVvZn3QDDrCyOf7lr/zPE5lzVIpcTJKybpxsXoNdfQ8hGV8ARe7GNchHq+YZyeQd XIpWksiPXnXdw/nDXCjVFpHCQSWAUkKst96oknwLcg28zE+YPmgEM1RGgUmHysBkJK1R pS5oOQ3TpRt2ugXbkHeRB8Qx3mflmrK7Wm09ZGy09twd7VJrOJz9LObs/hutr56WK4UL nJcQ== X-Gm-Message-State: AAQBX9fPgsx+8T5YQvNaA7P/cK8oFvfZGW0ppyAnZdKsbDNg4nOPhZ4o HuniCTNBwMpWq2aoLmWSY4Yg+Q== X-Google-Smtp-Source: AKy350ZchB20U9dl/pPfuLW+KcxMRjqr9dfU+8ds5x9ciZBLjLgvH9CvctlFQjn361GPRBpjNUyrnw== X-Received: by 2002:ac2:46f9:0:b0:4eb:40d4:e0d2 with SMTP id q25-20020ac246f9000000b004eb40d4e0d2mr917031lfo.38.1682029881593; Thu, 20 Apr 2023 15:31:21 -0700 (PDT) Received: from [192.168.1.101] (abyj144.neoplus.adsl.tpnet.pl. [83.9.29.144]) by smtp.gmail.com with ESMTPSA id w8-20020ac25d48000000b004eedb66983csm324256lfd.273.2023.04.20.15.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 15:31:21 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v2 00/13] SM63(50|75) DPU support Date: Fri, 21 Apr 2023 00:31:09 +0200 Message-Id: <20230411-topic-straitlagoon_mdss-v2-0-5def73f50980@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAC69QWQC/4WNWwqDMBAAryL5boquD0q/eo8iJcZVF9JEdtPQI t69qRfo5wwMsylBJhR1LTbFmEgo+AxwKpRdjJ9R05hZQQl12VSVjmElqyWyoejMHIJ/PEcRfZn qxho7tgidyvVgBPXAxtsl9/7lXJYr40TvY3fvMy8kMfDnuCf42f+jBLrUdTfZKu86gPbmyBsO5 8Cz6vd9/wKUXfip1AAAAA== To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Krishna Manikandan , Will Deacon , Robin Murphy , Joerg Roedel Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Konrad Dybcio , Rob Herring , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1682029879; l=2429; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=adALUm2UDCuq+jHiF5r/gGrJmlODjVUWz+k4+ab309g=; b=/nzsoNRh05ssUpKUu6os3JNQO8PfbruXwKRIX2V2kNWnyhJDQ0rvJRZ62p8t4kMlbM/yaNOLOWjg xCPJJiuWAxaRmTiAW3QO8qBjR0fRzd5jjjsP6RDamuXawInqU/// X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230420_153124_349598_CDAD5774 X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org v1 -> v2: - Rebase on the DPU catalog rework and INTF_TE - Fix QSEED(3L/4) discrepancies - Fixed DMA/cursor discrepancies for 6350 - No deduplication, that's gonna be handled in catalogrework 2: "the return of the catalogrework" - Split MDSS & DPU binding additions - Drop "Allow variable SSPP/INTF_BLK size", that got in w/ the rework - Split MDSS and DPU additions - Pick up Rob's acks Depends on (and based on): https://lore.kernel.org/linux-arm-msm/20230411-dpu-intf-te-v2-0-ef76c877eb97@somainline.org/T/#t v1: https://lore.kernel.org/linux-arm-msm/20230211122656.1479141-1-konrad.dybcio@linaro.org/ Signed-off-by: Konrad Dybcio --- Konrad Dybcio (13): dt-bindings: display/msm: dsi-controller-main: Add SM6350 dt-bindings: display/msm: dsi-controller-main: Add SM6375 dt-bindings: display/msm: Add SM6350 DPU dt-bindings: display/msm: Add SM6350 MDSS dt-bindings: display/msm: Add SM6375 DPU dt-bindings: display/msm: Add SM6375 MDSS drm/msm/dpu: Add SM6350 support drm/msm: mdss: Add SM6350 support drm/msm/dpu: Add SM6375 support drm/msm: mdss: Add SM6375 support iommu/arm-smmu-qcom: Add SM6375 DPU compatible iommu/arm-smmu-qcom: Add SM6350 DPU compatible iommu/arm-smmu-qcom: Sort the compatible list alphabetically .../bindings/display/msm/dsi-controller-main.yaml | 4 + .../bindings/display/msm/qcom,sm6350-dpu.yaml | 94 +++++++++ .../bindings/display/msm/qcom,sm6350-mdss.yaml | 214 ++++++++++++++++++++ .../bindings/display/msm/qcom,sm6375-dpu.yaml | 106 ++++++++++ .../bindings/display/msm/qcom,sm6375-mdss.yaml | 216 +++++++++++++++++++++ .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h | 186 ++++++++++++++++++ .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_9_sm6375.h | 152 +++++++++++++++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 15 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 4 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 + drivers/gpu/drm/msm/msm_mdss.c | 19 ++ drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 6 +- 12 files changed, 1016 insertions(+), 2 deletions(-) --- base-commit: eaf6956f6dfdbba2c53a668248f8213b9e01bc51 change-id: 20230411-topic-straitlagoon_mdss-8f34cacd5e26 Best regards,