Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2886406rwd; Mon, 29 May 2023 02:20:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7P0iDWvmhCgwGE63zwc2StvCPwFgsLW0JUMTWCC2QP+Omq/2GVY6Y77CjEiillIhAtZFsn X-Received: by 2002:a17:90a:c16:b0:255:d1b1:a8f3 with SMTP id 22-20020a17090a0c1600b00255d1b1a8f3mr10294057pjs.26.1685352035805; Mon, 29 May 2023 02:20:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685352035; cv=none; d=google.com; s=arc-20160816; b=ekjYlnUlILS+UiZV++EfdIl3M9ZwVBquDH4E3DLZRqJWzp5QMAMhRdEPpm1Bejd6gd L+Z9o6e86qVJU7mh/IXv7WSI3aRY5FENsGfKCGLf/xD/nD3GakkgvCSL91GNkPQuwD5/ ZdQJzoOJNMITIzaoZZkKfij9ZCKwfvaBXCDRA25AEMbqXS+mDc4gZlGNl4irz8yc9Pp1 WdRVcoSpkh0W+3qUX1dsqrF7hMr2KVddI0AC+1hB+LrtCKgRfZTKAOaHxzqTC/MzlLHC CUW9N4Vv6m5kaHk2HTLd6fYtqN6+WRIijnO8ipvG5dMTKcQY0/RA9JC+Y8Sfr1I1A1tk g/3w== 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=tSa8aYLGe0eh6zJBgEC1ehDOBlDuDqV/nsz+yCLZGS8=; b=lm5ZOaLT9XztQ9WGBklfWXqFHOVM/tu4yImdjFtLJq7wj84nsYhji3ZeWXQGukONdh MWCZRPIMDs4f2VcOmQ9wTdbpeZSC3Ks9/NdcKPEg+GJlMlBZ25VLIKquCGwL+dwicBiR Tw3VQ7SM5qVguawu2sXbmYQxWAA1yrxwCUsMZSTAURo5emQ47qrq6Y5Zz3naiCZHMAnM 4LCvjUNzQKTeUYb20rcFVLQsp97ku3Io9s2/txZ02XU9TnkK2x/g4l0DuAftOqh6+Auo ofWptk9CCqf7mxh9KO0G31k8l7NX25yJqvH4nttez/pgNTLD/pj0AWo2oQiqb/cIvzyY 0cmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JoqnkqFF; 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 x64-20020a636343000000b0053f25281d15si7162718pgb.537.2023.05.29.02.20.23; Mon, 29 May 2023 02:20:35 -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=JoqnkqFF; 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 S231592AbjE2JJQ (ORCPT + 99 others); Mon, 29 May 2023 05:09:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231837AbjE2JIz (ORCPT ); Mon, 29 May 2023 05:08:55 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1582114 for ; Mon, 29 May 2023 02:08:49 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4f122ff663eso3269681e87.2 for ; Mon, 29 May 2023 02:08:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685351328; x=1687943328; 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=tSa8aYLGe0eh6zJBgEC1ehDOBlDuDqV/nsz+yCLZGS8=; b=JoqnkqFFs6uFRbpaAbkym4gYnhJQCsnnGsqSwDYL/jL5nlLBM1xz+gJ5X0dxp1zrXI O/tJTtctTjTyqNVgs5ydIokhsCUjUZ6MLaZnabW5HL89gZDo+3NBUFwCT8kUFd3H6zWl kPOun5HSiSYWhM/m/AlGwBhXK7FNMMcr+F0J8kQidRUP9Bh4lLQ07imKQsvlBPcgBpgO NEUKGi5kqZ73V91LHAr4ihEjWO79uT96tJRe9v+PuXqYbTCt1PDg+AcQbyVXRTTFVC8J FfU5KFOmNBObhRkJldNnsxwrZTdw/T3goyEYKuDbs3lrMOdHwfHGvFO9ulU3uj9g9o3K jiLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685351328; x=1687943328; 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=tSa8aYLGe0eh6zJBgEC1ehDOBlDuDqV/nsz+yCLZGS8=; b=iwSfOKzw4FKGScGfQX+o6VUvkCDIK6wfX2IZct2yow3bHWK3Yo2ZexeQFoac9DMm7c EIsVZ+sxAOdCqxFYpDrmTsljolE0xbJAx4NppenlWV2I3WXz+2+OTLNiFyHFe4eAwNZA ELncE2wRbkDP36ctFalFALmaQDUKdanvdDQhlIa4vi08W4djCxhMjQVVx1oOL2+SqxXl RyP6ZbX9m0VmHLxQg7YNCaIf8lli7FXnsOhUpt4F6J9hTk2vL1ZCR+7qg3y9PanE9P6P qbQgPBIttCZNth8irFsmgI511+dnAaWX7nP4DQrn/QKojfLc6YXbU+fHorpMmRD5MAYk fF5w== X-Gm-Message-State: AC+VfDweSG1I5cqksz9//xu8UU9bRYPxL3lPqtfNHIaR3QBdfc1aW61M Lnk2/LUemmLdO0yt/sPfC/E4/Q== X-Received: by 2002:ac2:59cf:0:b0:4ed:d2cf:857b with SMTP id x15-20020ac259cf000000b004edd2cf857bmr3019232lfn.5.1685351328124; Mon, 29 May 2023 02:08:48 -0700 (PDT) Received: from [192.168.1.101] (abyj77.neoplus.adsl.tpnet.pl. [83.9.29.77]) by smtp.gmail.com with ESMTPSA id d11-20020ac2544b000000b004f4e637db2fsm1484450lfn.167.2023.05.29.02.08.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 May 2023 02:08:47 -0700 (PDT) Message-ID: Date: Mon, 29 May 2023 11:08:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 0/5] MDSS reg bus interconnect Content-Language: en-US To: Dmitry Baryshkov 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: Konrad Dybcio In-Reply-To: <254cd131-4ad1-44c9-2653-862580503c15@linaro.org> Content-Type: text/plain; charset=UTF-8 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=ham 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 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"? > - 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 > - 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. Konrad >