Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1121453ybg; Wed, 23 Oct 2019 10:39:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAZL81Tpp5wZAIC8+SI7RDbF8tzbL2kJFWamxdH7THLRq4pErqlFcA7GpzVE346ItnObBd X-Received: by 2002:a05:6402:290:: with SMTP id l16mr10568733edv.190.1571852385264; Wed, 23 Oct 2019 10:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571852385; cv=none; d=google.com; s=arc-20160816; b=zT8tF7hvrwAWYwbt6f6FZLAGYx/34qT6sVp1sEzrj5ZyejUwXVcl+Z0EtJ6ugQ7JiS 8jR52voU3ZEUflTCJJCs5KbVkAoILgoOO7UGKtArTIM292KYUD6t4nI2e5wdIQWU9N75 ZtjxejRihemWCVHfyQpStfFdc/qOyo19WDt0gY4kgWpph6A7J3kbjgXdg0UTJxxVCz31 /UegwfoDM1jLVDzpyIOkoGJ+d03KSAGCGHrllj3/TJ4zYET8wjDmSCitt3Uazp3fBAcC 5pXn1+czROHpTU4R0Gmn3cRNbvSY8Lpk5txZHJN1PU4Tlo6PzJy/6Pny9gTKq9wsZ1v7 IYUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=o+j5w7c9qtTMpRjEuu1kb2+1WUJJWSd985vcu/+FfGo=; b=kJj8QstfGkUTUUuO0ezUWQm5yQxAPqIvMlEjuYN6ieN5fnSr0u8uz05XT+BWVNVCIq oy7x/EOn5vekOH1R1cmxp5w41ywJm43KZ8lYZZqzq7vcJvy1Z9eHA82FWRayYhtPzpxJ cscfhHDMbM8nb1zbQeTPT8NyOAxQtY1bPsLXXOlvh7q2L+AtwCGAhXsFHZKpMmCbVas0 Ez/t8peM+KHNzAI6gLBtL6+zTJ0MFu6qWxb8F+pSDL5m7uJcyoIhA0j9tJHfaYT/67rl 4ZVvgSzn0aTLCCdeW4zdWWFc3Evqd6xycNIQL9neCI+V66etz2njWaKn75AxezJxrp0c 7wJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@onstation.org header.s=default header.b=Ty01jSUZ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ck24si13042415ejb.400.2019.10.23.10.39.21; Wed, 23 Oct 2019 10:39:45 -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 (test mode) header.i=@onstation.org header.s=default header.b=Ty01jSUZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405392AbfJWMr5 (ORCPT + 99 others); Wed, 23 Oct 2019 08:47:57 -0400 Received: from onstation.org ([52.200.56.107]:33894 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405381AbfJWMr4 (ORCPT ); Wed, 23 Oct 2019 08:47:56 -0400 Received: from localhost (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id F35C83E951; Wed, 23 Oct 2019 12:47:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1571834875; bh=0kqhIdrcdwTaeOk++zBCxLaWbwoAfqHJ5bwvzT6eofE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ty01jSUZZyZs/E5U7fYrVJsqd7rCW3TaZaBl4f6bW9Imrc+LwyG/rkLvdy1HnEelF yz54byi8l52QHKOb+vJbMLzFSvC5pmQg29NgewohrS2cpj2QCPLe7MwSxSaRhAcH7K 8lU1zbQPw4nW+ClZbLkZrp8GCMt2MEyGq6n/hcZU= Date: Wed, 23 Oct 2019 08:47:53 -0400 From: Brian Masney To: Georgi Djakov 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 Subject: Re: [PATCH 5/5] ARM: dts: qcom: msm8974: add interconnect nodes Message-ID: <20191023124753.GA14218@onstation.org> References: <20191013080804.10231-1-masneyb@onstation.org> <20191013080804.10231-6-masneyb@onstation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > > + 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. Brian