Message ID | 20230411-topic-straitlagoon_mdss-v2-8-5def73f50980@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp659300vqo; Thu, 20 Apr 2023 15:33:11 -0700 (PDT) X-Google-Smtp-Source: AKy350aT4tckjZGkC7gT7IhlEfapOw1VGKKSXI4+N5mD/SEMRmouzp9VH0392vaXPlBMHX8DYDAe X-Received: by 2002:a05:6a20:7f84:b0:f1:1a44:dc55 with SMTP id d4-20020a056a207f8400b000f11a44dc55mr4775594pzj.10.1682029990921; Thu, 20 Apr 2023 15:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682029990; cv=none; d=google.com; s=arc-20160816; b=09Ovu3PKKiYq64IljXtdyXhSlrjnViPnA1WNI5XbOLDPXr2yFpG/FL+DmPnw5xskht XC1YNRQ3ySqfEfJGWDWDPMcqvkrqeWaG06iTu4mx1NYAjdKtKtg/9prAsITAC7253okg takbWwfTW7ceZvgdWEBdNLc5yUtbtQdnir0gPLH2iJx5WObmBG3qA4MVEVF22GFGJPPk xVAbO/CqV5MsBXKNNacsZ4RxSCIB7voljWZZKnfuiha5ndVRzw+ytmziinNhxjIawzz7 naQhXd7e7ztg9R7PgsgfkChvbk6meJ9rybN0/WzcY+qNuxIkJ4y+9dh+3ubEX+mqXSdv fHMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=NzW0EyxEnLgGTr4kvlR1jpwpJYgRpLH7LzUuysQn5LU=; b=wRNquePUQ046vhNj9XkchIrGIfxLIzA+d7ISsTWg4N7YSrQ2Eos4CrlSBO9ftifbks ngh5BRoOt8hTO6fkw/LFoe/wvX/wOdXzuMv9J+kEG7CqQYGh+Imdf+5k/kOolatcl/NY x/iGhZsTbEDnAxUQZwbMiCILYQAHQST1sE7RPSWUVT251we0phjjdT/LsiqfQmkm/CXE RvnZZ9vsIcitCncE5k5vLpHChHnUwBMVx6XRbe5JA41c14WDNonXAYvc8UqgLHIS6+Vn HjQR/2zIMcilVnMb/DSKaRRdShn19+1MhLZwsAwoEuNCQ8sjew7av42fqHBQX//PpQBE 77Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ma+NvWDM; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 198-20020a6304cf000000b0051f0d0d6343si2558517pge.688.2023.04.20.15.32.56; Thu, 20 Apr 2023 15:33:10 -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=Ma+NvWDM; 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 S233200AbjDTWcN (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Thu, 20 Apr 2023 18:32:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233066AbjDTWbv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Apr 2023 18:31:51 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E5CA659C for <linux-kernel@vger.kernel.org>; Thu, 20 Apr 2023 15:31:36 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4ec94eb6dcaso956935e87.3 for <linux-kernel@vger.kernel.org>; Thu, 20 Apr 2023 15:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682029895; x=1684621895; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=NzW0EyxEnLgGTr4kvlR1jpwpJYgRpLH7LzUuysQn5LU=; b=Ma+NvWDMWecNjRhGTfS//RRzl2qjKfBRdeBNrSRoygMzT+qFjy6e5EiGGczTSb5dJQ QUpRkTZYWPqvbYclf4czjUwFg8Jc+x1ddtNq2+acsgMYXfHTBp2An6xaef3DGNB47MFA RItS3E7jplMvc58KP3pYAAOfwyBvOtLZjWlFqcMuj/Ux2o9WmBOgjiGs7xsE4Ei+Dk6U TNCxGR6mx3jphy5h9te+oQcrunggUVSUZJKM2n7ODWlAh8AIAZGwK6dO7T+zaciZ5iMB hTgdZvo1iVvmavJ6rfpl0cxgkICr9PYdMBmHUAXnkQY9/os5RPiZxbZIFmxdEN+nwDHz QZew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682029895; x=1684621895; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NzW0EyxEnLgGTr4kvlR1jpwpJYgRpLH7LzUuysQn5LU=; b=JgY8kTEarZSV1iJ86Juat4eEo8aWNAToebqoUQ0Jw4SK7vTQvEwrn+aB1EZOTsZAy5 gotUdwzL7cwD1HgiGrKJ7+s7noPYdsUke5HdKUDHEYtecnYUBMcF6M51aK+CTscAA7cy tvpimA9n7f3NqKY7jPBPzeifAU+Ta59VlZUVRsIbIQLjybpeT6WJ4cmenK1x19jIs075 fIC5N3T8J1t71maHxUcUC+ln6Dv/3J0ZZL8StwXnfPjm41Mv1E0wjYKm1rSh4wi2w4kF MAUpt1+HICMe58Gr5KVvjpJVRx19z6sAeXfYIwyxKULYqOqpsJwmIycuvu/e/w0/96OE CCAQ== X-Gm-Message-State: AAQBX9chiPxIkMHA7C3d2GRV8K8JBqFsRzIQIsgdQKP6anPys8jsYX9s Rzh48kWPLpbRbJvwNTVq2L9bzA== X-Received: by 2002:a05:6512:3c9:b0:4ec:857d:9c94 with SMTP id w9-20020a05651203c900b004ec857d9c94mr705379lfp.15.1682029894970; Thu, 20 Apr 2023 15:31:34 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 15:31:34 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Fri, 21 Apr 2023 00:31:17 +0200 Subject: [PATCH v2 08/13] drm/msm: mdss: Add SM6350 support MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230411-topic-straitlagoon_mdss-v2-8-5def73f50980@linaro.org> References: <20230411-topic-straitlagoon_mdss-v2-0-5def73f50980@linaro.org> In-Reply-To: <20230411-topic-straitlagoon_mdss-v2-0-5def73f50980@linaro.org> To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Krishna Manikandan <quic_mkrishn@quicinc.com>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Joerg Roedel <joro@8bytes.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, 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 <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1682029879; l=1325; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=YJnhuotbycPo0Lxuk2IRtdOzqse8Z1bIU0CErB+UTrw=; b=d5k6WYZUd1XbcPs5nVQlXqkJtEycVrXqJI6R1+zGm9QHV1JuWYVoLyI0UBWtYcyZeJB+Ge8Enm6E pWe8cxtkBAoI/eYMad7nfABBlIGkHpu+c6+M/fst+9zWU45spktu X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763736279218967433?= X-GMAIL-MSGID: =?utf-8?q?1763736279218967433?= |
Series |
SM63(50|75) DPU support
|
|
Commit Message
Konrad Dybcio
April 20, 2023, 10:31 p.m. UTC
Add support for MDSS on SM6350.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/gpu/drm/msm/msm_mdss.c | 9 +++++++++
1 file changed, 9 insertions(+)
Comments
On 21/04/2023 01:31, Konrad Dybcio wrote: > Add support for MDSS on SM6350. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > drivers/gpu/drm/msm/msm_mdss.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On 2023-04-21 00:31:17, Konrad Dybcio wrote: > Add support for MDSS on SM6350. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> > --- > drivers/gpu/drm/msm/msm_mdss.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c > index e8c93731aaa1..4e3a5f0c303c 100644 > --- a/drivers/gpu/drm/msm/msm_mdss.c > +++ b/drivers/gpu/drm/msm/msm_mdss.c > @@ -538,6 +538,14 @@ static const struct msm_mdss_data sdm845_data = { > .highest_bank_bit = 2, > }; > > +static const struct msm_mdss_data sm6350_data = { > + .ubwc_version = UBWC_2_0, > + .ubwc_dec_version = UBWC_2_0, > + .ubwc_swizzle = 6, > + .ubwc_static = 0x1e, > + .highest_bank_bit = 1, > +}; > + > static const struct msm_mdss_data sm8150_data = { > .ubwc_version = UBWC_3_0, > .ubwc_dec_version = UBWC_3_0, > @@ -571,6 +579,7 @@ static const struct of_device_id mdss_dt_match[] = { > { .compatible = "qcom,sc8180x-mdss", .data = &sc8180x_data }, > { .compatible = "qcom,sc8280xp-mdss", .data = &sc8280xp_data }, > { .compatible = "qcom,sm6115-mdss", .data = &sm6115_data }, > + { .compatible = "qcom,sm6350-mdss", .data = &sm6350_data }, > { .compatible = "qcom,sm8150-mdss", .data = &sm8150_data }, > { .compatible = "qcom,sm8250-mdss", .data = &sm8250_data }, > { .compatible = "qcom,sm8350-mdss", .data = &sm8250_data }, > > -- > 2.40.0 >
diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index e8c93731aaa1..4e3a5f0c303c 100644 --- a/drivers/gpu/drm/msm/msm_mdss.c +++ b/drivers/gpu/drm/msm/msm_mdss.c @@ -538,6 +538,14 @@ static const struct msm_mdss_data sdm845_data = { .highest_bank_bit = 2, }; +static const struct msm_mdss_data sm6350_data = { + .ubwc_version = UBWC_2_0, + .ubwc_dec_version = UBWC_2_0, + .ubwc_swizzle = 6, + .ubwc_static = 0x1e, + .highest_bank_bit = 1, +}; + static const struct msm_mdss_data sm8150_data = { .ubwc_version = UBWC_3_0, .ubwc_dec_version = UBWC_3_0, @@ -571,6 +579,7 @@ static const struct of_device_id mdss_dt_match[] = { { .compatible = "qcom,sc8180x-mdss", .data = &sc8180x_data }, { .compatible = "qcom,sc8280xp-mdss", .data = &sc8280xp_data }, { .compatible = "qcom,sm6115-mdss", .data = &sm6115_data }, + { .compatible = "qcom,sm6350-mdss", .data = &sm6350_data }, { .compatible = "qcom,sm8150-mdss", .data = &sm8150_data }, { .compatible = "qcom,sm8250-mdss", .data = &sm8250_data }, { .compatible = "qcom,sm8350-mdss", .data = &sm8250_data },