Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2964936rwd; Mon, 29 May 2023 03:52:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4RTTJ+RYwv9B0wTubFKRL4swA2AMMobuPMJMBDU+wPfVgvju2tnJwsA937ZFbHDamQv0Lu X-Received: by 2002:a17:90a:6648:b0:255:53b4:278c with SMTP id f8-20020a17090a664800b0025553b4278cmr10064897pjm.36.1685357533913; Mon, 29 May 2023 03:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685357533; cv=none; d=google.com; s=arc-20160816; b=WPuuljs91QiVw2bcDJQzp1WvMBfybF0yAJ8Jklf9jh6ErGs52+y+UYVA1UyW8exaIm RvyeDmbgu05VRV/3qRlYsVdhQeIc23u30mY3W9P8fjlY55LSxBX8fxvlIYdRmfJJFxX5 pIEM2U2PAvGI+abWgFdVFLstw0wzAXQNMQN2ug8TnSwBW8KRnF9ct/9jEVj6MjwwWVv8 t6xGkdOvW/A4p6V9HDE79r9AJ5EKoNEj5ilIObkDuF9c+flRjWKV6LLOVr7ukm1KfI4r RY4uH5dCJl/FFaJCsHPnaH5ZzdZWhYuNRysBHRv9KpDyHWc9bNlcbNHCPxSFxn32Y0GR 1LcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=NnjxsqeBUt3nN6IEIFcMokb1FE2z6yxCiutSi12fIMw=; b=ZHp3CDvWsl5pYOs6blQF9B4URP2IWGa0TfnYXlxoR9nt/QilybcW/m4r0cO2n4yl2A U/22tMOuJWzDc4eRhZP0pDoefKP6HeL9qyGlHZ0oHBacSlqogvjNR9v2sz0+aYOHknHE 1CAl0vieRKs3re+G7/KmIOB07yqpoDVFM711fP466QZXD41VRDW0oYFYm7OAy83tQzBo zo3jRwwjz0As0UDRNAcWNeZ66oJ9xn13SP2VVf4KWocdh5GBZ7wieW3w5grwtPqQ8Tot eDeI8NPcW0cDBTvp++w+bbW8b4VoB6SB0aU42g4hjsoPuaKKa+V1mtQDyNlnIXagr3NV Ypkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zam50bsf; 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 m28-20020a637d5c000000b0053ee9b2181fsi5814754pgn.118.2023.05.29.03.52.02; Mon, 29 May 2023 03:52:13 -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=Zam50bsf; 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 S231526AbjE2KCJ (ORCPT + 99 others); Mon, 29 May 2023 06:02:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231949AbjE2KB3 (ORCPT ); Mon, 29 May 2023 06:01:29 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8AC6107 for ; Mon, 29 May 2023 03:01:16 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f3a873476bso3288425e87.1 for ; Mon, 29 May 2023 03:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685354475; x=1687946475; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=NnjxsqeBUt3nN6IEIFcMokb1FE2z6yxCiutSi12fIMw=; b=Zam50bsfGCeAd+Q4HbMgubwGcnEpql+KsjM/23AhbtzJIILsYkkVddgYpFlg3q6JeF xPiy7PxJLnXjRCn/0UBBzSDxx++ggSzm23TrygJ6CX4ykUKsaXTGlVjNWKqh6UcW+bSf gtXeTN/hyEmTXWqBdxh5AOLVZDuIbPe28n8FBM2StjpIGdXfGpm8Qyc2Y9YRXbXpC89S YZyMdocDpieHb3ogMuleFdR+x+S+PfaIZdl/aIa93tRURNUJlPrRYPhjDzQTENlzozWf yyNV6F3WxJoHImcYu28PArW0rhjX0gpgVdrulNMchTuvJ4nu49Og5n6PFWB5fEgW9v9a Pnqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685354475; x=1687946475; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NnjxsqeBUt3nN6IEIFcMokb1FE2z6yxCiutSi12fIMw=; b=gjClQRimVvxpQVyYku2a1NJxVFtLrKjaFvHC46yYqn/mpl2B9ovFqiaFLCeIKm0XkT q7g6CWZ54YJb0ZqIuD+zhRNiIUvJ7dZBlAKmXClHooN0CHVAoTJu/ox+Ta2JqUMrAxAL OvO7MC3sfzm5gCTFfxuyyGlIc07OJu70f/T0nA+x7Bh1xJQQjsdsyHW3RqZUfUg9phNA 7Woa8n86EaOzmABztU5L2SFGt4uHjnKRpeV7ldvyc0+imLKaEiILvH2cNweZaQX4nVeL uDftHjk3716+kJP8dFku60ZGFzYwuqmoaaETwBT9a58M53gX6SOV4pvjrI/vF9TrqUq2 EIsQ== X-Gm-Message-State: AC+VfDxey7R63dlqsQWF0CCByJRSesHP4Ne7jZ8d5mFzwRXY6A+yzTWC tvpSgm7IQ4BO+Oo/nkYeJe+d3Q== X-Received: by 2002:ac2:44c9:0:b0:4e8:4412:1d95 with SMTP id d9-20020ac244c9000000b004e844121d95mr3096049lfm.29.1685354475042; Mon, 29 May 2023 03:01:15 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id y19-20020ac24473000000b004f3bb9f1068sm1915381lfl.225.2023.05.29.03.01.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 May 2023 03:01:14 -0700 (PDT) Message-ID: <3b5b6271-9611-9884-f0de-5b3f7c3d7b72@linaro.org> Date: Mon, 29 May 2023 13:01:13 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 0/5] MDSS reg bus interconnect Content-Language: en-GB To: Konrad Dybcio Cc: Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Krishna Manikandan , 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 References: <20230417-topic-dpu_regbus-v1-0-06fbdc1643c0@linaro.org> <74a817ff-5850-330d-8cac-f551be6fa35c@linaro.org> <254cd131-4ad1-44c9-2653-862580503c15@linaro.org> From: Dmitry Baryshkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: X-Mailing-List: linux-kernel@vger.kernel.org On 29/05/2023 12:08, Konrad Dybcio wrote: > > > On 29.05.2023 10:47, Dmitry Baryshkov wrote: >> On 29/05/2023 10:42, Konrad Dybcio wrote: >>> >>> >>> On 29.05.2023 04:42, Dmitry Baryshkov wrote: >>>> On Mon, 17 Apr 2023 at 18:30, Konrad Dybcio wrote: >>>>> >>>>> Apart from the already handled data bus (MAS_MDP_Pn<->DDR), there's >>>>> another path that needs to be handled to ensure MDSS functions properly, >>>>> namely the "reg bus", a.k.a the CPU-MDSS interconnect. >>>>> >>>>> Gating that path may have a variety of effects.. from none to otherwise >>>>> inexplicable DSI timeouts.. >>>>> >>>>> This series tries to address the lack of that. >>>>> >>>>> Example path: >>>>> >>>>> interconnects = <&bimc MASTER_AMPSS_M0 0 &config_noc SLAVE_DISPLAY_CFG 0>; >>>> >>>> If we are going to touch the MDSS interconnects, could you please also >>>> add the rotator interconnect to the bindings? >>>> We do not need to touch it at this time, but let's not have to change >>>> bindings later again. >>>> >>> Ack >> >> Also, several points noted from the mdss fbdev driver: >> >> - All possible clents vote for the low bw setting. This includes DSI, HDMI, MDSS itself and INTF > As in, "you need NUM_CLIENTS * MIN_VOTE" or as in "any client necessitates > a vote"? Each client has separate vote > >> - SMMU also casts such vote, which I do not think should be necessary, unless there is a separate MDSS SMMU? > There's one on 8996, pre-845 SoCs often have a MMSS MMU, 845 and > later have a MMSS-specific TBU which (theoretically) requires a > vote for access to 0x400-0x7ff SIDs Ack. > >> - PINGPONG cacsts high bw setting for the sake of speeding up the LUT tables if required. > Hm, I think is would be a separate topic. I think so. I'd do a single vote from mdp5/dpu1. Then we can cast higher vote from PP/DSPP/etc. -- With best wishes Dmitry