From patchwork Fri May 5 21:40:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 679436 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F0F1C77B75 for ; Fri, 5 May 2023 21:41:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230421AbjEEVla (ORCPT ); Fri, 5 May 2023 17:41:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233612AbjEEVlX (ORCPT ); Fri, 5 May 2023 17:41:23 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4252946AE for ; Fri, 5 May 2023 14:40:43 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2ac806f4fccso26403391fa.1 for ; Fri, 05 May 2023 14:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683322841; x=1685914841; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=Xgq4BXfKeKLv3cDGmb7IeDG4pt5ybSWl/i2fKHbBPpM=; b=Gmv4tN6ScJzsVWwKziGjwl5q9qYoB4WK8WiQYELEQj8rP/IzriK8KD7dYggzLHZp9y n/fciDOIF5ph6Y7jMM2TukdMRq0R9e9EpsEz2CSsNkvqNKRgmtsjYZkATS/LGK+uYH+k bP3pTJ7puWjDtpjxEVNbv/f1VIFHa+1wkYs9olS4Mksxp3qGZddkKcHmE35kzQD2M9R4 RMVefC6vmZZZXBFH4/4Ay8eFVzLGV8cBsmNBi6N63bXnEHvdPevcKYD6pxyeUambuhdJ TyrbPMPNZf7Yuv6L+R1FKiw9ZCoer9jkjKXSch+NmC5v2CJPuTGeKIxGVQ+M3ak745U9 IsyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683322841; x=1685914841; 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=Xgq4BXfKeKLv3cDGmb7IeDG4pt5ybSWl/i2fKHbBPpM=; b=bO1xEl0/OLwl4yExQuWpOP5s6f3ztSeI5T8bl5TsERSO9CmLdFobVXqcZvBcyqQX4t Uh5KNpYXkkUQt96Cp8F2XgjmUufSok0pz3vv3DeJlqiW2n5BDu2j02Bguan6iGHdVv8D DJfobszB1jKc62oWvzZ4Zl7bHeWOgpbOEhOuia6LjtOoFqRhv1FWRmOhWGEa3OP+ewBd oclPdhAmWCeUJrM85n9OuEv345T1HrDfGb4hMB+1oYt+UP3VI5brEIoV2VYSW5WqWr7m Sdl+rk/xF7WRZ6KuMJpad9Fe7hem7EC4LcHsOa+MCgUC093U0Tw0gKQpcpMY8+lcdnXe rVRw== X-Gm-Message-State: AC+VfDz9Q4kXcL3lZU9iKG9jjML7JSXDyvQQgo1RlTNl3iSEbW1A+Mm+ 8iu3pmhkcdnXOqqYqB7m+eyJPQ== X-Google-Smtp-Source: ACHHUZ5lafVh+OXGg5yoPYS+glhKVF2vEXnm3h0v0h6ZaQX1H2uaNlYRSi/QoqtwrLjB+a0amr6wrg== X-Received: by 2002:a2e:9610:0:b0:2ac:7f7e:8c76 with SMTP id v16-20020a2e9610000000b002ac7f7e8c76mr913093ljh.41.1683322841335; Fri, 05 May 2023 14:40:41 -0700 (PDT) Received: from [192.168.1.101] (abyl248.neoplus.adsl.tpnet.pl. [83.9.31.248]) by smtp.gmail.com with ESMTPSA id n12-20020a2e720c000000b002a776dbc277sm126453ljc.124.2023.05.05.14.40.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 14:40:40 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v3 00/12] SM63(50|75) DPU support Date: Fri, 05 May 2023 23:40:26 +0200 Message-Id: <20230411-topic-straitlagoon_mdss-v3-0-9837d6b3516d@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMp3VWQC/42Nyw6CMBQFf4V0bU1pKaIr/8MQU/qAm2BLbivRE P7dwsqdLuckZ2Yh0SLYSC7FQtDOECH4DOJQED0o31sKJjPhjAtWlSVNYQJNY0IFaVR9CP7+MDH SxolKK22k5TXJ705FSztUXg/575/jmMcJrYPXnru1mQeIKeB7r898W3+HZk4ZFbXTZc7VnMvrC F5hOAbst/B/AmmsOwkn2blh34J2XdcPpFkQYxUBAAA= 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=1683322839; l=3176; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=iP0fGBX0lPBisMmLt9TXs5S6v+yRcMBOFrgMz4fdS3w=; b=gzOSQ+etI0dI/TirDAdjlA/piQyw6w9fPUvPI7BGqVq+fIwZ8xT6YTMsKvfI4UsnQPtGu8EpB irp9kShpwSlBPKNjYA5Nrp0cGj7+Twb/DPr+xHEHPN4iHYy2CeP27/7 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org v2 -> v3: - Don't duplicate qcm2290_lm_sblk - Use DEFAULT_DPU_LINE_WIDTH defines - Fix up sspp clk assignments for sm6350 - Add 6350-6375-common QoS data straight to the common file instead of moving it around after adding it - Fix up iommu compatible order before adding new entries - Reuse sm6350 msm_mdss_data for sm6375 - INTF_SC7180_MASK -> INTF_SC7280_MASK (enable HCTL) on 6375 - use double tabs in catalog headers - remove one unused entry in 6350 dpu_qos_lut_entry - add missing tear IRQs, drop INTF0 irq on 6375 - don't overduplicate DPU bindings, reuse 7180 - Pick up tags - Rebase on INTF_TE v4 and next-20230504 Depends on: - https://lore.kernel.org/linux-arm-msm/20230411-dpu-intf-te-v4-0-27ce1a5ab5c6@somainline.org/ v2: https://lore.kernel.org/r/20230411-topic-straitlagoon_mdss-v2-0-5def73f50980@linaro.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 (12): dt-bindings: display/msm: dsi-controller-main: Add SM6350 dt-bindings: display/msm: dsi-controller-main: Add SM6375 dt-bindings: display/msm: sc7180-dpu: Describe SM6350 and SM6375 dt-bindings: display/msm: Add SM6350 MDSS 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: Sort the compatible list alphabetically iommu/arm-smmu-qcom: Add SM6375 DPU compatible iommu/arm-smmu-qcom: Add SM6350 DPU compatible .../bindings/display/msm/dsi-controller-main.yaml | 4 + .../bindings/display/msm/qcom,sc7180-dpu.yaml | 23 ++- .../bindings/display/msm/qcom,sm6350-mdss.yaml | 214 ++++++++++++++++++++ .../bindings/display/msm/qcom,sm6375-mdss.yaml | 216 +++++++++++++++++++++ .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h | 187 ++++++++++++++++++ .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_9_sm6375.h | 152 +++++++++++++++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 + 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 | 10 + drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 6 +- 11 files changed, 821 insertions(+), 3 deletions(-) --- base-commit: 0d71ecbdb3913e04dcf7f4de0929970cfb4376cb change-id: 20230411-topic-straitlagoon_mdss-8f34cacd5e26 Best regards,