Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755293AbeAJMUh (ORCPT + 1 other); Wed, 10 Jan 2018 07:20:37 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:33102 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755118AbeAJMUg (ORCPT ); Wed, 10 Jan 2018 07:20:36 -0500 X-Google-Smtp-Source: ACJfBovzX1SdJ5AgOFMml2IW+iRV+TPR8um0dXfhJ0lB7TFbjb3Nj9i/bk8jMPJueLBS14IdaCVlQw== Date: Wed, 10 Jan 2018 13:20:32 +0100 From: Thierry Reding To: Jon Hunter Cc: Ben Skeggs , David Airlie , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Guillaume Tucker Subject: Re: [Nouveau] [PATCH] drm/nouveau/bar/gk20a: Avoid bar teardown during init Message-ID: <20180110122032.GA26614@ulmo> References: <1515065349-10187-1-git-send-email-jonathanh@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <1515065349-10187-1-git-send-email-jonathanh@nvidia.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 04, 2018 at 11:29:09AM +0000, Jon Hunter wrote: > Commit bbb163e18960 ("drm/nouveau/bar: implement bar1 teardown") > introduced add a teardown helper function for BAR1. During > initialisation of the Nouveau, initially all the teardown helpers are > called once, before calling their init counterparts. For gk20a, after > the BAR1 teardown function is called, the device is hanging during the > initialisation of the FB sub-device. At this point it is unclear why > this is happening and this is still under investigation. However, this > change is preventing Tegra124 devices from booting when Nouveau is > enabled. To allow Tegra124 to boot, remove the teardown helper for > gk20a. >=20 > This is based upon a previous patch by Guillaume Tucker but limits > the workaround to only gk20a GPUs. >=20 > Fixes: bbb163e18960 ("drm/nouveau/bar: implement bar1 teardown") > Reported-by: Guillaume Tucker > Signed-off-by: Jon Hunter > --- > I am not happy that we do not yet fully understand the cause of > the hang, but I am talking with a few people at NVIDIA about this > and have a few things to look into. However, given that we are > close to v4.15 being released and I am not sure we will have a > proper fix in place before, I think it is best to workaround > this for now. >=20 > drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c | 3 ++- > drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c | 1 - > 2 files changed, 2 insertions(+), 2 deletions(-) Acked-by: Thierry Reding --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlpWBRAACgkQ3SOs138+ s6FdNQ//aOmckBoZHjhYFaC4zPHo6x5ld/FuFc4pYngjexsR3xIi8L7qXxtcxpwT mI4PUgn5rfPLtzfqrV4cWHjQfYfxPRLiSN9z8lNtZbb5CUCMLaTZS9dfNOIOr3eS Kr8Ihhlcz4a6aBjm4YxA2eWz6mHM/lsiDJQ/8DcS6UyyKw1QS8s+kjbn3JlelJdp t5z6DEQ4BtnijyjrVE3ht+IkIQExv6aLjyDu66z1N3JjsyNYree64WqJQDMEWoUH 6bOlAEE1FZB3ns3R1llO092RB4VyIeo/rcGdpjTCAoU8zFqbQLd/nQKFaCEfKalk 2v6QGu+a11gATGKUOaf+XqUOeX8QMnn/BRTt70JwugfAn2wxeBA6Ey94Sm6k10tn VvnWTetds7httN/jjulJUzjwNNwL7cJv6UQIToqaFD85ebHi1xzd7CZiP4V/SvJM uyx25M2kBaLkH+VrSBstVkZxdtm1F+GrVS1nkujWxtkyMn93ZQI/4fPrClrh3QTS AIW47YUxFgad1JUFWKUhfPJuKojqZfvrRZUN5s9rwSkrNJG5gjpFP9Ae6TtUTqcQ zBY4cRKJFgtmM6B2R4avU2f7Nt+7M0eCbT8KwIN4lTH30WeQ0nEypd0vkqXd6kxc Bxe5+7dbb8fvdzS0FTeAJZE6nz78xTeLDuXTb154OkLVtkZ5vro= =OTyl -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--