Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2762589rwj; Mon, 19 Dec 2022 08:33:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4MvIIEkkDUWMO86OCnSdj3VpyMKXf7ReMAFZn56eee0KP1UM7V1j9SL6kS49FvAUk5FSk2 X-Received: by 2002:a17:90a:6846:b0:219:1338:ab14 with SMTP id e6-20020a17090a684600b002191338ab14mr44846226pjm.22.1671467590589; Mon, 19 Dec 2022 08:33:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671467590; cv=none; d=google.com; s=arc-20160816; b=FBN/7atPsz2sk1IiQ0HsQSs0d6kYbGT7jm/nI7AItGYGJKe6IcOs7EamOfx0IxMxZD OClezYUx2ApJybRTZCPYKdflHL8ozbvBxTLP3Yk1eORV/wJ6Sm7Ou1AXMQuhvgX9NJgO 68h4gcUkRTolIBP8w/8QTpCfzUCk+7VaKFRfUm+f67W1Tx6n6V/FwXHB0pjNF3/+24Iw /Qci2wYUVh0tJMBcsSdubO8mLbz8YrzV1H/iNIz8ryOoYNgUiy7GsSqugPqGbMlzwPTv lHkhDTXU6Xg8qulrWlu+L5Vaqo7Vd/aMuH58OHhAJUPphn27ZG7Qxn9+ARuZ9V3+8HlB 1Buw== 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=FzfwFyE+sSo7ANEauBVW9ZLP3F3r13UfuJs8RcyCrw8=; b=GAGbrMePfSgQEQOmWpBVxtSn0i2eQ01uengHpLge3aW/v0Pkosig41WCXfGjaxRnza pyxEwb1uhyRIRrctEyN7BK4aLzq4DHfClOWGRyca2VJhgXY3UupuIvo8rNT2DHf9tB/4 ksxY9QeE5r188GKICN/HFPvAvu1wjvj3hN9xzYU5iNl+t7u8E0NRjmOJd27zMGmhoPJu PLZswja9rAEIONYmseX9ynRA3Mu7OjRWB7u9QUtlWDLMmawLSDsi4tiFuVW9716h0+Wo 59XVP5wLaRSffEDeXkmjtyfX2KhXBtdzL7hUR88E2gty7blctTv6otvSqWooaA16LLjA aHiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NhV5Tw8Z; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pm17-20020a17090b3c5100b00219c22aeb34si10740424pjb.15.2022.12.19.08.32.59; Mon, 19 Dec 2022 08:33: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=@linaro.org header.s=google header.b=NhV5Tw8Z; 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 S231693AbiLSQTO (ORCPT + 70 others); Mon, 19 Dec 2022 11:19:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231700AbiLSQTK (ORCPT ); Mon, 19 Dec 2022 11:19:10 -0500 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C8E2F1B for ; Mon, 19 Dec 2022 08:19:09 -0800 (PST) Received: by mail-oi1-x22a.google.com with SMTP id v82so8259539oib.4 for ; Mon, 19 Dec 2022 08:19:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.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=FzfwFyE+sSo7ANEauBVW9ZLP3F3r13UfuJs8RcyCrw8=; b=NhV5Tw8ZgsfyFjwkPlchKtqK1L2895WBh+U3hylBRokB378KBrak4q5ikdIN1YCHb8 gE6xYOOI+AwuoBssFtnr1hYKA7N6nJ5+rKlsbOyi7yZndY4ts91E0gEMpiikil7MdjaO WvFRhuAaOVjZKma2c/ElhriNgPTK/j05nUguqrNpsacCSQK/wo6g08O+fKTgdrXo3YMc eAUpG41yfCHljt2CVqn7m1znKJU57Em/dMeRhApo+O8Q3SGOPwMtcVFH0pk4uy4CurEz qMyFTMRq8PHYUIalhIGoR9aYTmvrODCi5d1toApLLUH35MZJgW086Z8BO1WIzFzdAv9u z4eg== 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=FzfwFyE+sSo7ANEauBVW9ZLP3F3r13UfuJs8RcyCrw8=; b=wMXr1FhBsuAPc2iB7L2m3z87xx5Tnhtk/ZFIlPfMgzYqT/Czv5xOt3I7Cm2K77T6/4 WcJQIkZiKrQSrP4V4a4VDcRNJSc0iFt+Df82nuIQaZkLSy7DIib3PcZy61HykwveqCHl WpsRdvu0em1F8GoxOvyKcixzsdy3X7WJLRuPIa6AIv+15DPUr+S6NpY+8akoKssTWufA 0uymoqtD9GtyaYOdyVBaAxzo6QpNjSOS8fXv6PrKaCT4wMGm8C9I/obgDtMXX37bN756 aqxtNi7cWXQrSYZFTXxtWIOboAhTR7BHZKktkgwUFyuPAJxcXxz5f3q3tscMDtaaLGlT T0sw== X-Gm-Message-State: ANoB5plWdnLxDZ3suq6iB1gZqTN2Ui9hLvZTuEvKsJ55tKOpKTODW+yK 1vnJX3PQES2TlM+djL2PznLKbHlULMO9RkgKiaBOYg== X-Received: by 2002:aca:1c07:0:b0:359:ef86:2f4f with SMTP id c7-20020aca1c07000000b00359ef862f4fmr1017340oic.14.1671466748381; Mon, 19 Dec 2022 08:19:08 -0800 (PST) MIME-Version: 1.0 References: <20221205163754.221139-1-robert.foss@linaro.org> <20221205163754.221139-6-robert.foss@linaro.org> In-Reply-To: From: Robert Foss Date: Mon, 19 Dec 2022 17:18:57 +0100 Message-ID: Subject: Re: [PATCH v3 05/11] drm/msm: Add support for SM8350 To: Dmitry Baryshkov Cc: robdclark@gmail.com, quic_abhinavk@quicinc.com, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, agross@kernel.org, bjorn.andersson@linaro.org, konrad.dybcio@somainline.org, quic_kalyant@quicinc.com, angelogioacchino.delregno@somainline.org, loic.poulain@linaro.org, swboyd@chromium.org, quic_vpolimer@quicinc.com, vkoul@kernel.org, dianders@chromium.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, Jonathan Marek , vinod.koul@linaro.org, quic_jesszhan@quicinc.com, andersson@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=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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Dec 2022 at 00:50, Dmitry Baryshkov wrote: > > On 05/12/2022 18:37, Robert Foss wrote: > > Add compatibles string, "qcom,sm8350-mdss", for the multimedia display > > subsystem unit used on Qualcomm SM8350 platform. > > > > Signed-off-by: Robert Foss > > --- > > drivers/gpu/drm/msm/msm_mdss.c | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c > > index a2264fb517a1..39746b972cdd 100644 > > --- a/drivers/gpu/drm/msm/msm_mdss.c > > +++ b/drivers/gpu/drm/msm/msm_mdss.c > > @@ -293,6 +293,9 @@ static int msm_mdss_enable(struct msm_mdss *msm_mdss) > > /* UBWC_2_0 */ > > msm_mdss_setup_ubwc_dec_20(msm_mdss, 0x1e); > > break; > > + case DPU_HW_VER_700: > > + msm_mdss_setup_ubwc_dec_40(msm_mdss, UBWC_4_0, 6, 1, 1, 1); > > + break; > > Judging from the vendor kernel, the highest_rank_bit is 3, with usual > todo for 2 for LP_DDR4. Thanks! Will fix. > > > case DPU_HW_VER_720: > > msm_mdss_setup_ubwc_dec_40(msm_mdss, UBWC_3_0, 6, 1, 1, 1); > > break; > > @@ -530,6 +533,7 @@ static const struct of_device_id mdss_dt_match[] = { > > { .compatible = "qcom,sc8180x-mdss" }, > > { .compatible = "qcom,sm8150-mdss" }, > > { .compatible = "qcom,sm8250-mdss" }, > > + { .compatible = "qcom,sm8350-mdss" }, > > { .compatible = "qcom,sm8450-mdss" }, > > {} > > }; > > -- > With best wishes > Dmitry >