Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp493959ybg; Wed, 3 Jun 2020 06:17:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfdGH4nVj96BqO3GmOJg0Alv1yQT98XFpxyPnNulf63+UYLgp4Y1aCFpHUbc1dQhrAek5a X-Received: by 2002:a17:906:3bd7:: with SMTP id v23mr16360852ejf.299.1591190223789; Wed, 03 Jun 2020 06:17:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591190223; cv=none; d=google.com; s=arc-20160816; b=mplICdNOXwUtxKUbwGlu6v5/pGY2HFqKQFvM6Uc5LgBN3I13GJg+yxtmLgi3eiKSLb ujqpSXuge6pF+yqEc2pFUcNCAw3JuPcDJb6d+bTaV8yZmwlNtToPbElhDyKZbo4IbHIm p4hlhQqtZ9JmjtNrERKF4268Cula5/rTRP9KZbCtEvzeugfvGQcG0j7PWQ1wR2sthH2v Ba5qMHrSIqHSYHBL4JglmlqOI5Bw92cwGpJuhKjAPZAcBupBotWNiURXhayD9eL2na+z u+iPAfYqJrkoTc5EONN4vGDDcvCU/ABdE7cZ9VI9RVaaYUFI/Ugca0oZ8340wSY+wwqR FEFQ== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=uBEy9uUD7V4GAl7MMeMnyKYCBfdDWDfGigVzTdJ7tzc=; b=obdRIAlkdaP11alZnkgI7/JxTR3J8CSfqG3vr3KlJXtOfkcb0ShvfVSyS9QSqPBcB6 CrnK6YjR6ISust9zTLHv3CthesFPKm+sSjRsJGo/8ZfGp6jwbL75oC9nnDz5qb3EFr2Y eqyutR7mrSFXKXi1Czp2Va7tRND7SnpMQvc5wg9PVVmryvd7eeOkluUASiPfpLUDScgi PKorPZGDncEbpLkYExjmjTvcrZLjnZNIjFlH9BXtzNcWBJm5udiezj1Cur/EdcbxzxUN XhAiZNLU0u7ymbkdBaKQxQ5UXeewwyN/2Hi+HcvrffwPAWrD/eh1sRzTirJr//x5CsDh nNVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=AZJBdQAF; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=aZM9QTK0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b4si1138486ejz.632.2020.06.03.06.16.40; Wed, 03 Jun 2020 06:17:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=AZJBdQAF; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=aZM9QTK0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725904AbgFCNOm (ORCPT + 99 others); Wed, 3 Jun 2020 09:14:42 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:52749 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725780AbgFCNOm (ORCPT ); Wed, 3 Jun 2020 09:14:42 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id C46285800EC; Wed, 3 Jun 2020 09:14:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 03 Jun 2020 09:14:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=uBEy9uUD7V4GAl7MMeMnyKYCBfd DWDfGigVzTdJ7tzc=; b=AZJBdQAFsN8T66EQzn9Wcc2vg3hMeiF1YfrI4otLU5j ayEtj9wMzy2dK+q1oaJf6OukjRPqhbRv99XKj25bawwZklNTZX1Ee6D7+bWaoVrL 3qbmwjNTHNgpDYacDSpJ1Xnhlah2S/i5spzjfYus2ltM7X6HrKQttLQaC6ps+CYp ZzZ12CTxUQnFhvSujxTT6GELZWvD1pA0fnw3dT6ZXvl4wz4/AvG/OvAFskt9hTDA K5ulb5XTefMVA1D+XOb9CGZ69J+YRp3yucwDcbZljzjcVFISZSyzhBCJA0cecVFB HllXzI7njY3EjSuXsWI8OLxzaqiSVsk6lTkApOb/1bw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=uBEy9u UD7V4GAl7MMeMnyKYCBfdDWDfGigVzTdJ7tzc=; b=aZM9QTK0sS7GjkUa7QAJtL Lejb+yRHv6mN8TcRQ6s5HfIQMv7rAHGpl3ILdyAA7SQSedj2uxpHpcF1qIDGnAiC FCaLo63Rfk7X0vGZ1SeGjKBTnk0XAxk+3Dl7Q+o7OeWQOmFLMHDyVc7Bs5kDvFMw FgFWe5daPiWtGGdRrwQf/qmzqwJzv31TIw2jM7JoCqq99UaIeQreLMcJAkDVyL7s E69WDcZT+evmDPoas1hfwiN0uGjnzY0JDl2WtpftVp2Pxu+uit2sccOz1eimGDt1 zDm+Oe6ftv5dh+8q9cvK0UIV3RelzLCNX8nPnX78ayzXWlbOOQUuPOoGh/1esB7A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefledggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id C1E8E3061CB6; Wed, 3 Jun 2020 09:14:35 -0400 (EDT) Date: Wed, 3 Jun 2020 15:14:34 +0200 From: Maxime Ripard To: Stefan Wahren Cc: Eric Anholt , Dave Stevenson , Tim Gover , LKML , DRI Development , Nicolas Saenz Julienne , bcm-kernel-feedback-list@broadcom.com, Phil Elwell , linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org Subject: Re: [PATCH v3 032/105] drm/vc4: crtc: Enable and disable the PV in atomic_enable / disable Message-ID: <20200603131434.2gmofg7sf7luakje@gilmour> References: <20200602141228.7zbkob7bw3owajsq@gilmour> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="skfrnwv7a5sl4g3l" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --skfrnwv7a5sl4g3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Stefan, On Tue, Jun 02, 2020 at 10:03:13PM +0200, Stefan Wahren wrote: > Am 02.06.20 um 21:31 schrieb Eric Anholt: > > On Tue, Jun 2, 2020 at 8:02 AM Dave Stevenson > > wrote: > >> Hi Maxime and Eric > >> > >> On Tue, 2 Jun 2020 at 15:12, Maxime Ripard wrote: > >>> Hi Eric > >>> > >>> On Wed, May 27, 2020 at 09:54:44AM -0700, Eric Anholt wrote: > >>>> On Wed, May 27, 2020 at 8:50 AM Maxime Ripard wr= ote: > >>>>> The VIDEN bit in the pixelvalve currently being used to enable or d= isable > >>>>> the pixelvalve seems to not be enough in some situations, which whi= ll end > >>>>> up with the pixelvalve stalling. > >>>>> > >>>>> In such a case, even re-enabling VIDEN doesn't bring it back and we= need to > >>>>> clear the FIFO. This can only be done if the pixelvalve is disabled= though. > >>>>> > >>>>> In order to overcome this, we can configure the pixelvalve during > >>>>> mode_set_no_fb, but only enable it in atomic_enable and flush the F= IFO > >>>>> there, and in atomic_disable disable the pixelvalve again. > >>>> What displays has this been tested with? Getting this sequencing > >>>> right is so painful, and things like DSI are tricky to get to light > >>>> up. > >>> That FIFO is between the HVS and the HDMI PVs, so this was obviously > >>> tested against that. Dave also tested the DSI output IIRC, so we shou= ld > >>> be covered here. > >> DSI wasn't working on the first patch set that Maxime sent - I haven't > >> tested this one as yet but will do so. > >> DPI was working early on to both an Adafruit 800x480 DPI panel, and > >> via a VGA666 as VGA. > >> HDMI is obviously working. > >> VEC is being ignored now. The clock structure is more restricted than > >> earlier chips, so to get the required clocks for the VEC without using > >> fractional divides it compromises the clock that other parts of the > >> system can run at (IIRC including the ARM). That's why the VEC has to > >> be explicitly enabled for the firmware to enable it as the only > >> output. It's annoying, but that's just a restriction of the chip. > > I'm more concerned with "make sure we don't regress pre-pi4 with this > > series" than "pi4 displays all work from the beginning" >=20 > unfortuntely i can confirm this. With this patch series (using Maxime's > git repo with multi_v7_defconfig) my Raspberry Pi 3 B hangs up while > starting X (screen stays black, heartbeat stops, no more output at the > debug UART). AFAIR v2 didn't had this issue. Did it happen with a DSI display or something else? I've been trying to setup the DSI display on an RPi3 today, but noticed that it looks like there's a regression in next that prevents the HDMI driver to load entirely (without my patches). Maxime --skfrnwv7a5sl4g3l Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXteiOgAKCRDj7w1vZxhR xbKWAQDYW0bIeRglf4HXhCDqUGdBhZA9ZXckJcF7Q9T+gYysFQEAyPKFFwR9N3NC f2tspYRw6I0x7UydBz+c6ib42l557wQ= =eXfr -----END PGP SIGNATURE----- --skfrnwv7a5sl4g3l--