From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47E1FC4727C for ; Thu, 1 Oct 2020 09:22:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 09CA120B1F for ; Thu, 1 Oct 2020 09:22:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731657AbgJAJWJ (ORCPT ); Thu, 1 Oct 2020 05:22:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:56120 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbgJAJWI (ORCPT ); Thu, 1 Oct 2020 05:22:08 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6073FAD49; Thu, 1 Oct 2020 09:22:06 +0000 (UTC) Message-ID: Subject: Re: [PATCH v5 80/80] ARM: dts: bcm2711: Enable the display pipeline From: Nicolas Saenz Julienne To: Nathan Chancellor , Maxime Ripard Cc: Eric Anholt , Stefan Wahren , Tim Gover , Dave Stevenson , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Hoegeun Kwon , Chanwoo Choi , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Phil Elwell , linux-arm-kernel@lists.infradead.org Date: Thu, 01 Oct 2020 11:22:03 +0200 In-Reply-To: <20200930163823.GA237050@ubuntu-m3-large-x86> References: <20200929221526.GA1370981@ubuntu-m3-large-x86> <20200930140758.gummt3umouva3wyu@gilmour.lan> <20200930163823.GA237050@ubuntu-m3-large-x86> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-xeOzVywA1Zb9Rs2smcOD" User-Agent: Evolution 3.36.5 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-xeOzVywA1Zb9Rs2smcOD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2020-09-30 at 09:38 -0700, Nathan Chancellor wrote: > On Wed, Sep 30, 2020 at 04:07:58PM +0200, Maxime Ripard wrote: > > Hi Nathan, > >=20 > > On Tue, Sep 29, 2020 at 03:15:26PM -0700, Nathan Chancellor wrote: > > > On Thu, Sep 03, 2020 at 10:01:52AM +0200, Maxime Ripard wrote: > > > > Now that all the drivers have been adjusted for it, let's bring in = the > > > > necessary device tree changes. > > > >=20 > > > > The VEC and PV3 are left out for now, since it will require a more = specific > > > > clock setup. > > > >=20 > > > > Reviewed-by: Dave Stevenson > > > > Tested-by: Chanwoo Choi > > > > Tested-by: Hoegeun Kwon > > > > Tested-by: Stefan Wahren > > > > Signed-off-by: Maxime Ripard > > >=20 > > > Apologies if this has already been reported or have a solution but th= is > > > patch (and presumably series) breaks output to the serial console aft= er > > > a certain point during init. On Raspbian, I see systemd startup messa= ges > > > then the output just turns into complete garbage. It looks like this > > > patch is merged first in linux-next, which is why my bisect fell on t= he > > > DRM merge. I am happy to provide whatever information could be helpfu= l > > > for debugging this. I am on the latest version of the firmware > > > (currently 26620cc9a63c6cb9965374d509479b4ee2c30241). > >=20 > > Unfortunately, the miniUART is in the same clock tree than the core > > clock and will thus have those kind of issues when the core clock is > > changed (which is also something that one should expect when using the > > DRM or other drivers). > >=20 > > The only real workaround there would be to switch to one of the PL011 > > UARTs. I guess we can also somehow make the UART react to the core cloc= k > > frequency changes, but that's going to require some effort > >=20 > > Maxime >=20 > Ack, thank you for the reply! There does not really seem to be a whole > ton of documentation around using one of the other PL011 UARTs so for > now, I will just revert this commit locally. Nathan, a less intrusive solution would be to add 'core_freq_min=3D500' int= o your config.txt. Funnily enough core_freq=3D500 doesn't seem to work in that regard. It migh= t be related with what Maxime is commenting. Regards, Nicolas --=-xeOzVywA1Zb9Rs2smcOD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl91n7sACgkQlfZmHno8 x/6QOQf/cx8IX0E/La/BOt0djC9PTcTaBmAMhBO2AfyXGlNq5oGKHYiP6n5O7ISG f7xgS02IcmsV5D4IdU/b16t9/6MwrFRTqf1OY/ba15HU0kgsLQMRNa3VA7GSbDUo cesVEbufcrEm7Xb92OfM/2aC4sVjnaGCA18RzyVEpD2SBvtpjqUoZtvH0ecscizT O41ZlDVLyWZnEklG1e98RhBJWghm2H6h7C+0cI6zxNSeSOh/JUx9BPYK5RBpGqCV BMN+zbPH9JP19kk+64U2+mvJSxCE77FryfY3LA2EQ9tCbZZdF/4+7mkc3hbpP0B5 rWZrlZMSnjYPX6sFfsv9edR2V1XrcQ== =Ivvl -----END PGP SIGNATURE----- --=-xeOzVywA1Zb9Rs2smcOD-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CEA7C4727F for ; Thu, 1 Oct 2020 09:23:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC86920B1F for ; Thu, 1 Oct 2020 09:23:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="A14ZF7oR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC86920B1F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:References:In-Reply-To:Date:To:From:Subject:Message-ID:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sOUdym7C3ww29QLPxUDRra85wNdMoJGb4izyatg+H/o=; b=A14ZF7oRfyqGFSGMzlB+qnz6J xs3bL2PG5ULkgjPVHbbea/DdNeXGtcN2J/mfaY0kNu1khFNVKip3tTuElBNuRaObGNGuVqIH9Cso3 VQYiqDVC5tD6fWXG6aAxceEsmEt0z6HNa4ZU+e4oG7wdIql+0h1qbvHc9/OE2Mx4h52npUR+LcAQn zefvWlqht/pLwkjSDQFQaONRg+juDSwVYoRgfyQ6Aidv64i7nffdJmY7ujR/2NcoP8Nc4Azh9SgsR 2yqKemEMkxyISFtUVJeOxL/2S8EOumIv35pb2BAagDis4EZsJdV8NmddoIfyeRWv2LQGZsHNG4Pf/ ItbKSVU9g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNun4-0002XY-QS; Thu, 01 Oct 2020 09:22:18 +0000 Received: from mx2.suse.de ([195.135.220.15]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNumv-0002OP-6n; Thu, 01 Oct 2020 09:22:10 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6073FAD49; Thu, 1 Oct 2020 09:22:06 +0000 (UTC) Message-ID: Subject: Re: [PATCH v5 80/80] ARM: dts: bcm2711: Enable the display pipeline From: Nicolas Saenz Julienne To: Nathan Chancellor , Maxime Ripard Date: Thu, 01 Oct 2020 11:22:03 +0200 In-Reply-To: <20200930163823.GA237050@ubuntu-m3-large-x86> References: <20200929221526.GA1370981@ubuntu-m3-large-x86> <20200930140758.gummt3umouva3wyu@gilmour.lan> <20200930163823.GA237050@ubuntu-m3-large-x86> User-Agent: Evolution 3.36.5 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201001_052209_640500_3AAF73D8 X-CRM114-Status: GOOD ( 30.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , Chanwoo Choi , Tim Gover , Dave Stevenson , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Phil Elwell , Eric Anholt , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Hoegeun Kwon , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============9097505746294003526==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============9097505746294003526== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-xeOzVywA1Zb9Rs2smcOD" --=-xeOzVywA1Zb9Rs2smcOD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2020-09-30 at 09:38 -0700, Nathan Chancellor wrote: > On Wed, Sep 30, 2020 at 04:07:58PM +0200, Maxime Ripard wrote: > > Hi Nathan, > >=20 > > On Tue, Sep 29, 2020 at 03:15:26PM -0700, Nathan Chancellor wrote: > > > On Thu, Sep 03, 2020 at 10:01:52AM +0200, Maxime Ripard wrote: > > > > Now that all the drivers have been adjusted for it, let's bring in = the > > > > necessary device tree changes. > > > >=20 > > > > The VEC and PV3 are left out for now, since it will require a more = specific > > > > clock setup. > > > >=20 > > > > Reviewed-by: Dave Stevenson > > > > Tested-by: Chanwoo Choi > > > > Tested-by: Hoegeun Kwon > > > > Tested-by: Stefan Wahren > > > > Signed-off-by: Maxime Ripard > > >=20 > > > Apologies if this has already been reported or have a solution but th= is > > > patch (and presumably series) breaks output to the serial console aft= er > > > a certain point during init. On Raspbian, I see systemd startup messa= ges > > > then the output just turns into complete garbage. It looks like this > > > patch is merged first in linux-next, which is why my bisect fell on t= he > > > DRM merge. I am happy to provide whatever information could be helpfu= l > > > for debugging this. I am on the latest version of the firmware > > > (currently 26620cc9a63c6cb9965374d509479b4ee2c30241). > >=20 > > Unfortunately, the miniUART is in the same clock tree than the core > > clock and will thus have those kind of issues when the core clock is > > changed (which is also something that one should expect when using the > > DRM or other drivers). > >=20 > > The only real workaround there would be to switch to one of the PL011 > > UARTs. I guess we can also somehow make the UART react to the core cloc= k > > frequency changes, but that's going to require some effort > >=20 > > Maxime >=20 > Ack, thank you for the reply! There does not really seem to be a whole > ton of documentation around using one of the other PL011 UARTs so for > now, I will just revert this commit locally. Nathan, a less intrusive solution would be to add 'core_freq_min=3D500' int= o your config.txt. Funnily enough core_freq=3D500 doesn't seem to work in that regard. It migh= t be related with what Maxime is commenting. Regards, Nicolas --=-xeOzVywA1Zb9Rs2smcOD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl91n7sACgkQlfZmHno8 x/6QOQf/cx8IX0E/La/BOt0djC9PTcTaBmAMhBO2AfyXGlNq5oGKHYiP6n5O7ISG f7xgS02IcmsV5D4IdU/b16t9/6MwrFRTqf1OY/ba15HU0kgsLQMRNa3VA7GSbDUo cesVEbufcrEm7Xb92OfM/2aC4sVjnaGCA18RzyVEpD2SBvtpjqUoZtvH0ecscizT O41ZlDVLyWZnEklG1e98RhBJWghm2H6h7C+0cI6zxNSeSOh/JUx9BPYK5RBpGqCV BMN+zbPH9JP19kk+64U2+mvJSxCE77FryfY3LA2EQ9tCbZZdF/4+7mkc3hbpP0B5 rWZrlZMSnjYPX6sFfsv9edR2V1XrcQ== =Ivvl -----END PGP SIGNATURE----- --=-xeOzVywA1Zb9Rs2smcOD-- --===============9097505746294003526== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============9097505746294003526==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1803DC4363D for ; Fri, 2 Oct 2020 07:03:10 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C8B6F206DD for ; Fri, 2 Oct 2020 07:03:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C8B6F206DD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 18A9A6E247; Fri, 2 Oct 2020 07:02:52 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id C8F8A6E175 for ; Thu, 1 Oct 2020 09:22:07 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6073FAD49; Thu, 1 Oct 2020 09:22:06 +0000 (UTC) Message-ID: Subject: Re: [PATCH v5 80/80] ARM: dts: bcm2711: Enable the display pipeline From: Nicolas Saenz Julienne To: Nathan Chancellor , Maxime Ripard Date: Thu, 01 Oct 2020 11:22:03 +0200 In-Reply-To: <20200930163823.GA237050@ubuntu-m3-large-x86> References: <20200929221526.GA1370981@ubuntu-m3-large-x86> <20200930140758.gummt3umouva3wyu@gilmour.lan> <20200930163823.GA237050@ubuntu-m3-large-x86> User-Agent: Evolution 3.36.5 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 02 Oct 2020 07:02:50 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , Chanwoo Choi , Tim Gover , Dave Stevenson , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Phil Elwell , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Hoegeun Kwon , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============2017177878==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --===============2017177878== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-xeOzVywA1Zb9Rs2smcOD" --=-xeOzVywA1Zb9Rs2smcOD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2020-09-30 at 09:38 -0700, Nathan Chancellor wrote: > On Wed, Sep 30, 2020 at 04:07:58PM +0200, Maxime Ripard wrote: > > Hi Nathan, > >=20 > > On Tue, Sep 29, 2020 at 03:15:26PM -0700, Nathan Chancellor wrote: > > > On Thu, Sep 03, 2020 at 10:01:52AM +0200, Maxime Ripard wrote: > > > > Now that all the drivers have been adjusted for it, let's bring in = the > > > > necessary device tree changes. > > > >=20 > > > > The VEC and PV3 are left out for now, since it will require a more = specific > > > > clock setup. > > > >=20 > > > > Reviewed-by: Dave Stevenson > > > > Tested-by: Chanwoo Choi > > > > Tested-by: Hoegeun Kwon > > > > Tested-by: Stefan Wahren > > > > Signed-off-by: Maxime Ripard > > >=20 > > > Apologies if this has already been reported or have a solution but th= is > > > patch (and presumably series) breaks output to the serial console aft= er > > > a certain point during init. On Raspbian, I see systemd startup messa= ges > > > then the output just turns into complete garbage. It looks like this > > > patch is merged first in linux-next, which is why my bisect fell on t= he > > > DRM merge. I am happy to provide whatever information could be helpfu= l > > > for debugging this. I am on the latest version of the firmware > > > (currently 26620cc9a63c6cb9965374d509479b4ee2c30241). > >=20 > > Unfortunately, the miniUART is in the same clock tree than the core > > clock and will thus have those kind of issues when the core clock is > > changed (which is also something that one should expect when using the > > DRM or other drivers). > >=20 > > The only real workaround there would be to switch to one of the PL011 > > UARTs. I guess we can also somehow make the UART react to the core cloc= k > > frequency changes, but that's going to require some effort > >=20 > > Maxime >=20 > Ack, thank you for the reply! There does not really seem to be a whole > ton of documentation around using one of the other PL011 UARTs so for > now, I will just revert this commit locally. Nathan, a less intrusive solution would be to add 'core_freq_min=3D500' int= o your config.txt. Funnily enough core_freq=3D500 doesn't seem to work in that regard. It migh= t be related with what Maxime is commenting. Regards, Nicolas --=-xeOzVywA1Zb9Rs2smcOD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl91n7sACgkQlfZmHno8 x/6QOQf/cx8IX0E/La/BOt0djC9PTcTaBmAMhBO2AfyXGlNq5oGKHYiP6n5O7ISG f7xgS02IcmsV5D4IdU/b16t9/6MwrFRTqf1OY/ba15HU0kgsLQMRNa3VA7GSbDUo cesVEbufcrEm7Xb92OfM/2aC4sVjnaGCA18RzyVEpD2SBvtpjqUoZtvH0ecscizT O41ZlDVLyWZnEklG1e98RhBJWghm2H6h7C+0cI6zxNSeSOh/JUx9BPYK5RBpGqCV BMN+zbPH9JP19kk+64U2+mvJSxCE77FryfY3LA2EQ9tCbZZdF/4+7mkc3hbpP0B5 rWZrlZMSnjYPX6sFfsv9edR2V1XrcQ== =Ivvl -----END PGP SIGNATURE----- --=-xeOzVywA1Zb9Rs2smcOD-- --===============2017177878== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2017177878==--