Message ID | 20231030-topic-sm8650-upstream-mdss-v2-0-43f1887c82b8@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp2109911vqb; Mon, 30 Oct 2023 03:37:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEeO7tcFBgNlfLD/C5kBfH8Q6EiYwmukAfkYAL6tqOC3WibQIBtCISu9UnqRci40FxktuUM X-Received: by 2002:a05:6870:4192:b0:1d6:97:bd7d with SMTP id y18-20020a056870419200b001d60097bd7dmr12823506oac.34.1698662271695; Mon, 30 Oct 2023 03:37:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698662271; cv=none; d=google.com; s=arc-20160816; b=Gf+WmYOMPfHGaMSSOZA5ilUDmx7MvbYx5OlSh+LLTwX4puqgly60xSiX+Pb4eR3lt4 4rspg+R5uhu52xWIJJ79Vi8sOyI12D5UKay2vhn7bEdiVM8a2n+da888Bd8DykzvrKBz vevX+J8FVLj7Ut2XeqX0FCLNCt0b62EMSBSOGwwXEyhH1bWlixDVsxgbFHOdJzaddvpo QrqRkgQ2XQUDEMx3sRlFQ1rFFAF73GZKdp5NP667iuKmi81LDZQF9Erm1Q1EZ4DGCWOx BAB5IXQKeazaw+4CPUX/1yhswV7t/Sj45jitI+F7PLGQRVhFeVO/6kvz6X36Mq44lCyR O+gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=Qe+6f2RNQqzEAAJWEhcjfCOgBjDBSpwsYGSepbX/BrQ=; fh=trMmdVVACdA9HVFei5LY/ns4tkp4wrmrbjes+bs/Lvw=; b=DuxO4SxHc5e23Dp6A1Iq8AmgyfvperJBXK5IgpMgNkpTLNArT/g1cL0YCYzDha9tbc A1Hx3JDGnUnoTWVF8ZWTAcssKVBWP+mmRA8CQfchpIAmf6ZYKTqnCSeukb6LszKNSyr0 3keqTainDCbmHEgu0DgLQ/knYjdV6VRMYfbM/oyRWiswRUmkr7+MVwewP+RPV/FIX5tz paF5vqI43iKhJkz1VH8msQtyh/Ga5yu0smdw0KLuVPFDz5bl0RO9w5+xMG8XDD1VToFj xPfUVKGxUllc8N2LtTPP9RJrT46stPn3UWzQtKFuLKIkTNhqZpCBmhtIvh4UOjdzx2JU ZorQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LbUT7sxK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id bv5-20020a632e05000000b005b982b6a01fsi2092621pgb.39.2023.10.30.03.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 03:37:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LbUT7sxK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id BFFBE8083ABE; Mon, 30 Oct 2023 03:37:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232670AbjJ3Kgt (ORCPT <rfc822;zxc52fgh@gmail.com> + 31 others); Mon, 30 Oct 2023 06:36:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232523AbjJ3Kgs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 30 Oct 2023 06:36:48 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8825F9D for <linux-kernel@vger.kernel.org>; Mon, 30 Oct 2023 03:36:44 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40839807e82so24880155e9.0 for <linux-kernel@vger.kernel.org>; Mon, 30 Oct 2023 03:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698662203; x=1699267003; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=Qe+6f2RNQqzEAAJWEhcjfCOgBjDBSpwsYGSepbX/BrQ=; b=LbUT7sxKJngs/jGwPD9xsKW9smvnd6HIEYb9vxRtnf9DhtiicQOZvB9PimWTLOrpcK F0oMirzEm3aqs/C7D5YXIc4qAbk1Mhpj9Dqlvuos7rOIQ7dSm8X/OcQpXVbRXhPDCMEE HHo8bg3/Vl8K3f1Ns7f/xK+rWTL/fOw7XyjMJICU9l6AS4irGQjz/qxZzbxJ22SAnjy8 akCASFXjjx+eKwpONWQfueDW6/OAAKfuW6Ffh1IxaVJVI5OlSgU91x+Kib/UtlWkH1sy B+U4JP7esxa0QcC4ztTNw34vWEvK0+4j9Toa09Fm3tijhnn9841WvyyvVOKzyB4jwTTP 8quw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698662203; x=1699267003; 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=Qe+6f2RNQqzEAAJWEhcjfCOgBjDBSpwsYGSepbX/BrQ=; b=iQu1nm4+rf9kbTpvk6f5rD/7fTgvHhxc7nm1QdthxKrA9rsWh2WpSBZKZ8GhHcFbYP pMOCbbq8llsiu6eo8A1QF1SlSU8dDfq4qHjfcWAvopcqfviDpOhnWokubM0gyMeP8FFl zyRqjbk2TUvQCR5R+SBeFOi8YpTa1zqTJaqYOs3FGVH61CraeB+Ic2ugyGNlscfG1RJ6 pjBUD/8KWhZASh1OCA2wjDf8MzTdU5jfpOz0+j9oaxGGTZiHw5Dp4BDj5Un1MyyupQDO 2CT0peDlHQzBYPhQyxc3MToLmwUxyt6pgmdUUvcJyIknRY+AGS4ugMcUq2qMuOAPXw6X H6uQ== X-Gm-Message-State: AOJu0YyUFSRrLvsVKpedT/jtMPzzOp809BHyuqpLc+jusgMNGdZgw5sT wq5ugfOa+HSWDn6puV6RT8/g0g== X-Received: by 2002:a05:600c:3b9a:b0:401:b92f:eec5 with SMTP id n26-20020a05600c3b9a00b00401b92feec5mr13979002wms.9.1698662202849; Mon, 30 Oct 2023 03:36:42 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id r5-20020a05600c458500b004060f0a0fd5sm8783209wmo.13.2023.10.30.03.36.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 03:36:42 -0700 (PDT) From: Neil Armstrong <neil.armstrong@linaro.org> Subject: [PATCH v2 0/8] drm/msm: Introduce display support for SM8650 Date: Mon, 30 Oct 2023 11:36:22 +0100 Message-Id: <20231030-topic-sm8650-upstream-mdss-v2-0-43f1887c82b8@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIACaHP2UC/33Nyw6CMBCF4VchXTumLSkXV76HYdGWESYR2nSQa AjvbiWuXf5n8Z1NMCZCFpdiEwlXYgpzDn0qhB/tPCBQn1toqUslVQVLiOSBp6YyEp6Rl4R2gql nBiz71qBsfe0akYGY8E6vA791uUfiJaT38bWq7/pjtfnHrgokOKdV6xpfW6OuD5ptCueQBtHt+ /4BB3mpXcUAAAA= To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, Marijn Suijten <marijn.suijten@somainline.org>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Jonathan Marek <jonathan@marek.ca>, Krishna Manikandan <quic_mkrishn@quicinc.com> Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong <neil.armstrong@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2731; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=fZztST0Tz52prZISRUQq/mJrmvbzIZBrY3BqrBlopSs=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlP4c2EA4xjcpeqPPieVb2X/c8s09EMY/1qKLqgq/X sGzboCaJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZT+HNgAKCRB33NvayMhJ0TlkD/ 9gXQqPK/9qLaLVBSQLxX3rLwEc9QE6uuLjc6rmn+KCegWWpNrrsww18EyianHJYXiDYBwyYC3KmBYr Z7Fd1SDV8nL9vP/LQebm6SfQVD8LgihMqPmDGto2csG+cv3HaLOI/HFANOlwZuYtK5rC3yC2heEuA0 WQ0/ZIfpDqbXxN7YqMw9FhvtWCEeY0bY507d3F4uRVuMCsnXZGCEayk2npNOmvPhI0OQzQiF4w723F twuV4hA487XNKVKrQSbbdjcI/GV+hL53LG4h4SmQdkDzRGeq0+yJ2eagwmfxfLAE//Y4aY6d5gOi5P OFsdaBnSPxZZX2DBRLjkJsCNSyR3I3A4/uYs7ZfHMnBDM7PwqU746GJgjJMgyKdZ1H2sBe7XiQxTc1 n1bkAK+6oGaYVCbGRUCixgKi7v2jdlZuCGI3FkyQLBC2AUj3UDu1yjrB0nUsid3jHNnAaKuRzA0v/F jR9rJsud6Ki7lPaBp2B4Iolv3v5L7eakgtORdg51LyUYI9Pl6GIhHi7vHLF5HWcnVjvcJpRB8wKyn+ g8ZZ84nQW7G0IUW4m0XgdCUGe+XXhZudiDbe6325nss0gfHvzql64sokpvkMbBhCYwphDVZpOkhFey 0d0KOxETyjTx140ZMKQW439lAgO+b8qUlIyjFtTYJBPyI1exc2amOPZYRR9w== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 30 Oct 2023 03:37:39 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781176490168475483 X-GMAIL-MSGID: 1781176490168475483 |
Series |
drm/msm: Introduce display support for SM8650
|
|
Message
Neil Armstrong
Oct. 30, 2023, 10:36 a.m. UTC
The SM8650 MDSS is very close from the MDSS 9.0.0 found
on the SM8550 SoC, with the following difference:
- DSI PHY 2.8.8, no significant differences
- DPU 10.0.0:
- Enhanced max_linewidth to 8k
- PINGPONG_8 & PINGPONG_9
- MERGE_3D_4
- DSC_4 & DSC_5, DSC_NATIVE_42x on DSC0/1
This patchset contains DSI PHY, DSI Controller, DPU & MDSS bindings
in addition to the driver changes.
Support for Display Port output is expected for later.
Dependencies: None
For convenience, a regularly refreshed linux-next based git tree containing
all the SM8650 related work is available at:
https://git.codelinaro.org/neil.armstrong/linux/-/tree/topic/sm8650/upstream/integ
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v2:
- Rebased on top of https://patchwork.freedesktop.org/series/119804/
- Enabled SDMA
- Fixed sm8650_rt_pri_lvl table
- Collected Reviewed-by tags
- Link to v1: https://lore.kernel.org/r/20231025-topic-sm8650-upstream-mdss-v1-0-bb219b8c7a51@linaro.org
---
Neil Armstrong (8):
dt-bindings: display: msm-dsi-phy-7nm: document the SM8650 DSI PHY
dt-bindings: display: msm-dsi-controller-main: document the SM8650 DSI Controller
dt-bindings: display: msm: document the SM8650 DPU
dt-bindings: display: msm: document the SM8650 Mobile Display Subsystem
drm/msm/dpu: add support for SM8650 DPU
drm/msm: mdss: add support for SM8650
drm/msm: dsi: add support for DSI-PHY on SM8650
drm/msm: dsi: add support for DSI 2.8.0
.../bindings/display/msm/dsi-controller-main.yaml | 2 +
.../bindings/display/msm/dsi-phy-7nm.yaml | 1 +
.../bindings/display/msm/qcom,sm8650-dpu.yaml | 127 ++++++
.../bindings/display/msm/qcom,sm8650-mdss.yaml | 322 +++++++++++++++
.../drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h | 457 +++++++++++++++++++++
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 26 ++
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 +
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 3 +
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 +
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 17 +
drivers/gpu/drm/msm/dsi/dsi_cfg.h | 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_7nm.c | 27 ++
drivers/gpu/drm/msm/msm_mdss.c | 1 +
15 files changed, 989 insertions(+)
---
base-commit: 8c53ca7d71a2d7274b51ec14a0d91b6ede09fd83
change-id: 20231016-topic-sm8650-upstream-mdss-e3d95e09c7b8
Best regards,
Comments
On Mon, 30 Oct 2023 11:36:22 +0100, Neil Armstrong wrote: > The SM8650 MDSS is very close from the MDSS 9.0.0 found > on the SM8550 SoC, with the following difference: > - DSI PHY 2.8.8, no significant differences > - DPU 10.0.0: > - Enhanced max_linewidth to 8k > - PINGPONG_8 & PINGPONG_9 > - MERGE_3D_4 > - DSC_4 & DSC_5, DSC_NATIVE_42x on DSC0/1 > > [...] Applied, thanks! [1/8] dt-bindings: display: msm-dsi-phy-7nm: document the SM8650 DSI PHY https://gitlab.freedesktop.org/lumag/msm/-/commit/0014a4ad6c08 [2/8] dt-bindings: display: msm-dsi-controller-main: document the SM8650 DSI Controller https://gitlab.freedesktop.org/lumag/msm/-/commit/8adc26fcebae [3/8] dt-bindings: display: msm: document the SM8650 DPU https://gitlab.freedesktop.org/lumag/msm/-/commit/3e135a7700f9 [4/8] dt-bindings: display: msm: document the SM8650 Mobile Display Subsystem https://gitlab.freedesktop.org/lumag/msm/-/commit/cbcef056fa40 [5/8] drm/msm/dpu: add support for SM8650 DPU https://gitlab.freedesktop.org/lumag/msm/-/commit/b94747f7d8c7 [6/8] drm/msm: mdss: add support for SM8650 https://gitlab.freedesktop.org/lumag/msm/-/commit/e6488c2a3541 [7/8] drm/msm: dsi: add support for DSI-PHY on SM8650 https://gitlab.freedesktop.org/lumag/msm/-/commit/3a73e376cff3 [8/8] drm/msm: dsi: add support for DSI 2.8.0 https://gitlab.freedesktop.org/lumag/msm/-/commit/fec254cc752d Best regards,