Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1279968ybg; Wed, 23 Oct 2019 13:13:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqytrwJGuqYGkMfiqs3AqElTBEXzUswEEbANkqLFhNY1kboW2VS9WAXOBUYaM+v+IdAZxMp8 X-Received: by 2002:a05:6402:1514:: with SMTP id f20mr40115560edw.35.1571861583515; Wed, 23 Oct 2019 13:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571861583; cv=none; d=google.com; s=arc-20160816; b=SlNnwdDfz7v/5v/yJcFQnNdRHXjGia+HGNMV2TLY6FhwfzCk+mV4tzlXmbDFjqP+40 B84H3AwZKm0xR+DXj2WMjzvjf8CTefr0nVu+rNiGI0ODZMxQmg96dk92m8bKD9fOzGJG KiCGGILDUuxTqRaox95r+FijCaB6OVIytKYT+3gCzDaL4dUFQ6psl2OHVI+oiP3dKXM0 fKzO6hLx23sNnU8UEp7fdpSMcGPVEdYCplDwdh5fdseOQxFXx+tWsKwzNlHgnKCsvepA XCq9BALzj+OhlkQMO4UY+Nt4vQThCK97tIDngLKLTJNWU1ydDNnfoFUeyPBjVBALU/en 2dLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:date:message-id:openpgp :from:references:cc:to:subject:dkim-signature; bh=5T/MoSeXRvOkVox5hp0mSxwsnPbBwGiugOsPGPiVrU8=; b=eeH4r5wRnunTQGNwCddnYSDDhG6L14D8WT9X5Pa1XU80dzymjaLOBAStrr4cpzU6b7 LGH+Bq3I+QE0ZwCQ6AYSu41CDMlDZ076a3INlQGk2Wkf5m4DJENIt9v4oX2sOuYcSq2L dnSjMR99vd0663HRVckp5STos+3+fUMOp/y2e50hSvooC9COzJv8zfR3CTw5trjX2x/T y/sNYIxlCpCKW5ORLGkhzKCjrHFWCPVIUrmAIdGb/aZmLUKTprs27BZOXrB2VCBV2vmm JfaA0ugW65FZ3Xyqd1T90QWXLo4Cr5m99DFh5R3dnmyOP8tyb36VbIWjHZlnfGxRpbN2 01Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WTeLh8M3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 17si12824034ejt.431.2019.10.23.13.12.39; Wed, 23 Oct 2019 13:13:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WTeLh8M3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2392028AbfJWNj0 (ORCPT + 99 others); Wed, 23 Oct 2019 09:39:26 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:50344 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391615AbfJWNjZ (ORCPT ); Wed, 23 Oct 2019 09:39:25 -0400 Received: by mail-wm1-f68.google.com with SMTP id q13so11239629wmj.0 for ; Wed, 23 Oct 2019 06:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=5T/MoSeXRvOkVox5hp0mSxwsnPbBwGiugOsPGPiVrU8=; b=WTeLh8M3lxNhpkfwYwFMHlcPhKIXYRT0p9/eP9nI54LGkFxOxk8DhkIGWl2q4NFVHl 2EA7zM0yapmyaIetbOq2dc+BjjnvfxL7amqvYonpgiDt710d/mKF1L9uh5llf2Xh7rkf A/ErZoT5sPtCN32j+1ScJ1VEWQP6Top+BG8t/WSLVuz5qoKI6S3wodXQ23DNW/13PhOS xWu74+92vmUXgvyZQOGWtqJ887kZh+v27wvQBDhdBSXH5s4vmkQNt//dTxba6fU3beq3 gkUqqRwzx11uv0fudpX/lrYtz17W3mVa76N7wLtRmXGjUD86E43D8Ji0wkD6ZLiOhUwY YWfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5T/MoSeXRvOkVox5hp0mSxwsnPbBwGiugOsPGPiVrU8=; b=ELXh89ZWYyC90deRHq1sr40her/kQxMx23OfiCwjttS5XplKrlg/725/2w1ognlj0n H3lAkvKk7ep/4uayLQb4NmmuH0af6oPork3oSfk/45p55urednrRDGHIurYV7Nw5PGUZ ZjaJit/2lUu9SHtrlOId0hyBocRwD+BtmAqPwTkPP3fZaIUf9lZil/4dmPmSVpkQx2vA QZwLnOpHs+Z1hSTHdYsbmnoM5C1UifDw70ZvVMBhTl/9WVXpdGN6JV0ePlcr0llItjRD AkvH3XhqOOlY7M4+8CPqSDMWtsr8G6F/pMw2iVukCmfzWPZf04s7im6+tR/CNC+lyDp1 TebA== X-Gm-Message-State: APjAAAWsm0X/OIumqaF34aZnfjOZrWxNoz0xFjVAGXGv/RuOmSTt6e0z vBcrRvV5/M50DtFD0XcrzH03dw== X-Received: by 2002:a1c:9c0c:: with SMTP id f12mr7972419wme.133.1571837963549; Wed, 23 Oct 2019 06:39:23 -0700 (PDT) Received: from [192.168.27.135] ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id b5sm19095690wmj.18.2019.10.23.06.39.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2019 06:39:22 -0700 (PDT) Subject: Re: [PATCH 5/5] ARM: dts: qcom: msm8974: add interconnect nodes To: Brian Masney Cc: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20191013080804.10231-1-masneyb@onstation.org> <20191013080804.10231-6-masneyb@onstation.org> <20191023124753.GA14218@onstation.org> From: Georgi Djakov Openpgp: preference=signencrypt Message-ID: Date: Wed, 23 Oct 2019 16:39:21 +0300 MIME-Version: 1.0 In-Reply-To: <20191023124753.GA14218@onstation.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.10.19 г. 15:47 ч., Brian Masney wrote: > On Wed, Oct 23, 2019 at 02:50:19PM +0300, Georgi Djakov wrote: >> On 13.10.19 г. 11:08 ч., Brian Masney wrote: >>> Add interconnect nodes that's needed to support bus scaling. >>> >>> Signed-off-by: Brian Masney >>> --- >>> arch/arm/boot/dts/qcom-msm8974.dtsi | 60 +++++++++++++++++++++++++++++ >>> 1 file changed, 60 insertions(+) >>> >>> diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi >>> @@ -1152,6 +1207,11 @@ >>> "core", >>> "vsync"; >>> >>> + interconnects = <&mmssnoc MNOC_MAS_GRAPHICS_3D &bimc BIMC_SLV_EBI_CH0>, >>> + <&ocmemnoc OCMEM_VNOC_MAS_GFX3D &ocmemnoc OCMEM_SLV_OCMEM>; >> >> Who will be the requesting bandwidth to DDR and ocmem? Is it the display or GPU >> or both? The above seem like GPU-related interconnects, so maybe these >> properties should be in the GPU DT node. > > The display is what currently requests the interconnect path, > specifically mdp5_setup_interconnect() in > drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c. The Freedreno GPU bindings > currently don't have interconnect support. Maybe this is something that > I should add to that driver as well? The "mdp0-mem" and "mdp1-mem" paths mentioned in the mdp5_kms.c are the two interconnects between the display and DDR memory. There is actually a patch [1] to add to GPU bindings, but it seems that we missed to pick it up. > >>> + interconnect-names = "mdp0-mem", >>> + "mdp1-mem"; >> >> As the second path is not to DDR, but to ocmem, it might be better to call it >> something like "gpu-ocmem". > > I used what mdp5_kms.c expected. This is for the display and here [2] are some patches for the GPU. Not sure how the NoCs are configured on 8974 by default, but if you notice any blue/black screens, you may need to request bandwidth for display too. Thanks, Georgi [1] https://lore.kernel.org/r/1555703787-10897-1-git-send-email-jcrouse@codeaurora.org [2] https://lore.kernel.org/r/20181220173026.3857-1-jcrouse@codeaurora.org