From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Hunter Subject: Re: [PATCH] ARM: tegra: nyan: Enable GPU node and related supply Date: Tue, 20 Sep 2016 13:24:37 +0100 Message-ID: References: <20160918141311.17140-1-contact@paulk.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160918141311.17140-1-contact-W9ppeneeCTY@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Paul Kocialkowski , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alexandre Courbot , Thierry Reding Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Stephen Warren List-Id: linux-tegra@vger.kernel.org On 18/09/16 15:13, Paul Kocialkowski wrote: > This enables the GPU node for tegra124 nyan boards, which is required to > get graphics acceleration with nouveau on these devices. > > Signed-off-by: Paul Kocialkowski > --- > arch/arm/boot/dts/tegra124-nyan.dtsi | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi > index dab9509..225ca77 100644 > --- a/arch/arm/boot/dts/tegra124-nyan.dtsi > +++ b/arch/arm/boot/dts/tegra124-nyan.dtsi > @@ -42,6 +42,12 @@ > }; > }; > > + gpu@0,57000000 { > + status = "okay"; > + > + vdd-supply = <&vdd_gpu>; > + }; > + > serial@70006000 { > /* Debug connector on the bottom of the board near SD card. */ > status = "okay"; > @@ -214,7 +220,7 @@ > regulator-always-on; > }; > > - sd6 { > + vdd_gpu: sd6 { > regulator-name = "+VDD_GPU_AP"; > regulator-min-microvolt = <650000>; > regulator-max-microvolt = <1200000>; > Looks good to me. I see the following error when booting but looking at the code appears to be benign. Thierry, Alex, is this normal/okay? [ 5.715181] nouveau 57000000.gpu: NVIDIA GK20A (0ea000a1) [ 5.720625] nouveau 57000000.gpu: imem: using IOMMU [ 5.803694] nouveau 57000000.gpu: DRM: VRAM: 0 MiB [ 5.808501] nouveau 57000000.gpu: DRM: GART: 1048576 MiB [ 5.816000] nouveau 57000000.gpu: DRM: failed to create ce channel, -22 [ 5.924140] nouveau 57000000.gpu: DRM: MM: using GRCE for buffer copies Cheers Jon -- nvpublic -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753156AbcITMYq (ORCPT ); Tue, 20 Sep 2016 08:24:46 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:15867 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752070AbcITMYn (ORCPT ); Tue, 20 Sep 2016 08:24:43 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Tue, 20 Sep 2016 05:19:08 -0700 Subject: Re: [PATCH] ARM: tegra: nyan: Enable GPU node and related supply To: Paul Kocialkowski , , Alexandre Courbot , Thierry Reding References: <20160918141311.17140-1-contact@paulk.fr> CC: , , , Stephen Warren From: Jon Hunter Message-ID: Date: Tue, 20 Sep 2016 13:24:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160918141311.17140-1-contact@paulk.fr> X-Originating-IP: [10.21.132.118] X-ClientProxiedBy: UKMAIL101.nvidia.com (10.26.138.13) To UKMAIL101.nvidia.com (10.26.138.13) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/09/16 15:13, Paul Kocialkowski wrote: > This enables the GPU node for tegra124 nyan boards, which is required to > get graphics acceleration with nouveau on these devices. > > Signed-off-by: Paul Kocialkowski > --- > arch/arm/boot/dts/tegra124-nyan.dtsi | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi > index dab9509..225ca77 100644 > --- a/arch/arm/boot/dts/tegra124-nyan.dtsi > +++ b/arch/arm/boot/dts/tegra124-nyan.dtsi > @@ -42,6 +42,12 @@ > }; > }; > > + gpu@0,57000000 { > + status = "okay"; > + > + vdd-supply = <&vdd_gpu>; > + }; > + > serial@70006000 { > /* Debug connector on the bottom of the board near SD card. */ > status = "okay"; > @@ -214,7 +220,7 @@ > regulator-always-on; > }; > > - sd6 { > + vdd_gpu: sd6 { > regulator-name = "+VDD_GPU_AP"; > regulator-min-microvolt = <650000>; > regulator-max-microvolt = <1200000>; > Looks good to me. I see the following error when booting but looking at the code appears to be benign. Thierry, Alex, is this normal/okay? [ 5.715181] nouveau 57000000.gpu: NVIDIA GK20A (0ea000a1) [ 5.720625] nouveau 57000000.gpu: imem: using IOMMU [ 5.803694] nouveau 57000000.gpu: DRM: VRAM: 0 MiB [ 5.808501] nouveau 57000000.gpu: DRM: GART: 1048576 MiB [ 5.816000] nouveau 57000000.gpu: DRM: failed to create ce channel, -22 [ 5.924140] nouveau 57000000.gpu: DRM: MM: using GRCE for buffer copies Cheers Jon -- nvpublic From mboxrd@z Thu Jan 1 00:00:00 1970 From: jonathanh@nvidia.com (Jon Hunter) Date: Tue, 20 Sep 2016 13:24:37 +0100 Subject: [PATCH] ARM: tegra: nyan: Enable GPU node and related supply In-Reply-To: <20160918141311.17140-1-contact@paulk.fr> References: <20160918141311.17140-1-contact@paulk.fr> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 18/09/16 15:13, Paul Kocialkowski wrote: > This enables the GPU node for tegra124 nyan boards, which is required to > get graphics acceleration with nouveau on these devices. > > Signed-off-by: Paul Kocialkowski > --- > arch/arm/boot/dts/tegra124-nyan.dtsi | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi > index dab9509..225ca77 100644 > --- a/arch/arm/boot/dts/tegra124-nyan.dtsi > +++ b/arch/arm/boot/dts/tegra124-nyan.dtsi > @@ -42,6 +42,12 @@ > }; > }; > > + gpu at 0,57000000 { > + status = "okay"; > + > + vdd-supply = <&vdd_gpu>; > + }; > + > serial at 70006000 { > /* Debug connector on the bottom of the board near SD card. */ > status = "okay"; > @@ -214,7 +220,7 @@ > regulator-always-on; > }; > > - sd6 { > + vdd_gpu: sd6 { > regulator-name = "+VDD_GPU_AP"; > regulator-min-microvolt = <650000>; > regulator-max-microvolt = <1200000>; > Looks good to me. I see the following error when booting but looking at the code appears to be benign. Thierry, Alex, is this normal/okay? [ 5.715181] nouveau 57000000.gpu: NVIDIA GK20A (0ea000a1) [ 5.720625] nouveau 57000000.gpu: imem: using IOMMU [ 5.803694] nouveau 57000000.gpu: DRM: VRAM: 0 MiB [ 5.808501] nouveau 57000000.gpu: DRM: GART: 1048576 MiB [ 5.816000] nouveau 57000000.gpu: DRM: failed to create ce channel, -22 [ 5.924140] nouveau 57000000.gpu: DRM: MM: using GRCE for buffer copies Cheers Jon -- nvpublic