From patchwork Thu Dec 13 17:31:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10729289 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A4150112E for ; Thu, 13 Dec 2018 17:32:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8522A2C7C0 for ; Thu, 13 Dec 2018 17:32:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 789442C7EF; Thu, 13 Dec 2018 17:32:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2992F2C7C0 for ; Thu, 13 Dec 2018 17:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=walHTUts4k4OXWq9EDG02e35IhSA2JYRX9iwmLeAlYY=; b=kxqPjWvfppR/go1wys7f8RnFnt NwOgoYIy/DQEAJx8xIC9Ty+5Kz18xsKqwPDBT4Qjhzgh+1EqCrPEeC1JoIJt8llPmbROsGGzTlGqB NkuxpRhxfwg2OKoDy0te/uXFOQSgT/Nq3g+tQnpjpdJ8ibuOtA2xl/fg8/CvH2psA8xA13lcap5pl DPcBzWPoJBPKepfaOg1ULtO/EoPzUvix7uLr8rJ7aPLfD47zDqJeCeDsybI06E++9CLe/hvLBOVzF tiFs+eNfwcqtpi3AwCPnsWyVvK97YBQr3h4ib6ge6ZCq13qT9YBRvgCpltICzw5IYoHwRp6j8CYgI P9UR4oqw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXUqw-0004Wq-PM; Thu, 13 Dec 2018 17:32:50 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXUqF-0003lE-HR for linux-arm-kernel@lists.infradead.org; Thu, 13 Dec 2018 17:32:12 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DAFCF6084F; Thu, 13 Dec 2018 17:31:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544722316; bh=h9MsjaQKHnhWHN7oNFvU8lPg2Baa8bbKoYkA26js5+Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TQk9Srqkt45/R1aKk4ZAVAgqSyOWPkXuOT3kQgQIb0jz0dYgSL519GogHgy/AVdGB ytlg+jhcdNs0+5VuXdifAbvgwKo6x2CuncqoYLfuveTlhYaUookyxatc0Pyd5775BW bRh2batRfWK2sYZG7ge6FK2xRxemwJYVAohCTZfI= Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 39498601C3; Thu, 13 Dec 2018 17:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544722314; bh=h9MsjaQKHnhWHN7oNFvU8lPg2Baa8bbKoYkA26js5+Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lksa3bfZXQ8xZ7pJQOUVKabwuD21H1FpQrPvNouiKzWQvi3sk9ZdYhPm3K+/6XfnW 9vQcnKuM4OHAxn2IlwGXXenhL/wab42QIIkUrtt2Hp2+a9Mt04fa1IRwyJXKc13cRe 5zTrX6ARTzIddIlYN1zC1PQ+2yoPhl4kBUq9tRPw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 39498601C3 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jcrouse@codeaurora.org From: Jordan Crouse To: freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] dt-bindings: drm/msm/a6xx: Document interconnect properties for GPU Date: Thu, 13 Dec 2018 10:31:48 -0700 Message-Id: <20181213173149.6975-2-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181213173149.6975-1-jcrouse@codeaurora.org> References: <20181213173149.6975-1-jcrouse@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181213_093207_609679_A8ECE083 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nm@ti.com, devicetree@vger.kernel.org, rnayak@codeaurora.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, dianders@chromium.org, vireshk@kernel.org, georgi.djakov@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation for the interconnect and interconnect-names bindings for the GPU node as detailed by bindings/interconnect/interconnect.txt. Signed-off-by: Jordan Crouse --- Documentation/devicetree/bindings/display/msm/gpu.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.txt b/Documentation/devicetree/bindings/display/msm/gpu.txt index 8d9415180c22..be6b5628e052 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.txt +++ b/Documentation/devicetree/bindings/display/msm/gpu.txt @@ -19,6 +19,9 @@ Required properties: * "mem_iface" - iommus: optional phandle to an adreno iommu instance - operating-points-v2: optional phandle to the OPP operating points +- interconnect: optional phandle to a interconnect provider. See + ../interconnect/interconnect.txt for details. +- interconnect-names: Name string for the interconnects. - qcom,gmu: For a6xx and newer targets a phandle to the GMU device that will control the power for the GPU @@ -68,6 +71,9 @@ Example a6xx (with GMU): operating-points-v2 = <&gpu_opp_table>; + interconnects = <&qnoc MASTER_GFX3D &qnoc SLAVE_EBI1>; + interconnect-names = "gfx-mem"; + qcom,gmu = <&gmu>; }; }; From patchwork Thu Dec 13 17:31:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10729287 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B02CC112E for ; Thu, 13 Dec 2018 17:32:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 918CD2C787 for ; Thu, 13 Dec 2018 17:32:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 861822C7DA; Thu, 13 Dec 2018 17:32:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3CDEB2C787 for ; Thu, 13 Dec 2018 17:32:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KbX1T3DHvHmHylBAxo0WocG1lYZv2oX2C+/fG9Sbt2k=; b=NawsxRaGkofmJMVLrN/UyARoEt bm2B10Xhuhhqovxh195oBs1Gnv4SRlcEYKYUFuEluVqeLh6++l2Fx2he/kiNcqyZJAMJEA25elECt k9qiQONn2cgwxCNq3ssJHDU7Zip3DolqGzf022vkFp8cZcOnQw7wVYX5s8SJD4WwnIqLgQp4yQq+i HhNehq1nB9Ae2dN5tS5kMQLpUt1KHvTMYKrRQBDLD1MQuFBnins/jKVIB9WGbt0RMXmLELb/YG7B/ 7umsuzYSNGy6nTlq/kJEcoLD26XAdeoOhZD68VXa0MM+yMlv9eonDq+NG3Nyw4kuD4wPF1zcuPec0 jwSai1mA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXUqj-0004Gl-5X; Thu, 13 Dec 2018 17:32:37 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXUqF-0003lF-GU for linux-arm-kernel@lists.infradead.org; Thu, 13 Dec 2018 17:32:09 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 42303608C6; Thu, 13 Dec 2018 17:31:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544722318; bh=HDpupgHnvnBtYCGFcEvdOzAXRFpgGdSUS3vcU+N30mk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L6zA7z45Z4DDPdAoflrOeLy2lb02QOi3XnnYFbr2EIsuslSU0fVPPkn3pXHpytkoh lmjEaIPTUSW6tJZ/EfT3QQAwewgBj/J8eZ8A2pWDBIiJOqTbc8vOo4p8KEdfVQNVHe 8PWqhp2ik8f7F5MWln+N8Lz7WUJdUfOiJk5/o1wg= Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 93E5E60132; Thu, 13 Dec 2018 17:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544722315; bh=HDpupgHnvnBtYCGFcEvdOzAXRFpgGdSUS3vcU+N30mk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nUj2T9BRJ711iKdgledpHU/WQc6gF23lp2EwEpU40R8glOeAF7dcsnN+WbEV/HSEX ki3L3f28r5QhVby+kkUk8cm1lsiQ7Tt2RvvwmS/tOHT32xUHicjKu1jrwc75o0J88D oSR6KQ2JZPjuXcDtQ7z+kZ70rcyxO/Qf3stvd1P8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 93E5E60132 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jcrouse@codeaurora.org From: Jordan Crouse To: freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] arm64: dts: sdm845: Add interconnect for GPU Date: Thu, 13 Dec 2018 10:31:49 -0700 Message-Id: <20181213173149.6975-3-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181213173149.6975-1-jcrouse@codeaurora.org> References: <20181213173149.6975-1-jcrouse@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181213_093207_573983_10A4818E X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nm@ti.com, devicetree@vger.kernel.org, rnayak@codeaurora.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, dianders@chromium.org, vireshk@kernel.org, georgi.djakov@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Define an interconnect port for the GPU to set bus capabilities. Signed-off-by: Jordan Crouse --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0a5ddfc4c59b..9323f211ca40 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1370,6 +1370,9 @@ operating-points-v2 = <&gpu_opp_table>; + interconnects = <&qnoc MASTER_GFX3D &qnoc SLAVE_EBI1>; + interconnect-names = "gfx-mem"; + qcom,gmu = <&gmu>; gpu_opp_table: opp-table {