Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1329933ybg; Tue, 2 Jun 2020 07:15:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwxjwNyvmRfmBeZACuu9xKWXQp5T/53ZV6frcy2ELuIT/T7cBK9PpGImKZUHxM9HX457rz X-Received: by 2002:aa7:da4f:: with SMTP id w15mr18540389eds.384.1591107319985; Tue, 02 Jun 2020 07:15:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591107319; cv=none; d=google.com; s=arc-20160816; b=Ol8npfyZidwdasJmTIKLn2ita3O5VtuhI99NLyhzTPpgtp77XUhid0NZjxeT7AXHzR Qhn2kuVtLpt6Y1C/eri3Xbezft6SFGVPR+cAPkXc+8r9k++Ypb65e26hzKIS4COq57rd PnPoQIWIT+j3hD/A/eDkQEJ2EqJwNLjshiiT/UUPDP4zcaZNk01kimhVAdz7TUotp/UT xtMZy2mDjdn0Pvl8yahLyQdpXwkunhEV/bNUWZNhjrxK+Fsdmc6SIfZXUiF1xHPu5Lmc 7Xvoqyqw1cy1uXuyFtAxsMFXfmggtty90KJQCMco5baeM229X8hvFYkUc2tdem6nxLJ2 XfVw== 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=6nfNzIAdvv+2u2nlDiEbeWjNRvuHHWtTui6XJIgYRnc=; b=GJufy3/JS5PJs3AusSJNCjm184iIqEUHuZnopEiXFPZ7369WFTLBptT742WklMuuhL uoVd11qKNBJTYc4W3aatKd9dILzFAT+V1Fk4YqA29as6FyZtRN5kEaj3oIb8kCzEmBEi 57J66dVWqaPYkC+q+cRyJo9aQki0ta3GD5JcBBkFJwsSh8eMmRg0txH1toiuaBYziy2t mznrO87IYYkdHcHSS7ytLy7J9npRn/XPtTWV/kBE0CBmal5CiUe0DBScsbYb6Fw7W4vi NO78BWlgZeAXBsQTzufLe74WS7H20bAaA0B9N9jBvFtfiSPUD5Jt1RvZqx66Mv9qtgVv 06tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=jAUnEuWc; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Hu4oqsVs; 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 lh18si1414999ejb.487.2020.06.02.07.14.55; Tue, 02 Jun 2020 07:15:19 -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=jAUnEuWc; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Hu4oqsVs; 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 S1726267AbgFBOMd (ORCPT + 99 others); Tue, 2 Jun 2020 10:12:33 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:58351 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbgFBOMd (ORCPT ); Tue, 2 Jun 2020 10:12:33 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id DF8795C00B9; Tue, 2 Jun 2020 10:12:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 02 Jun 2020 10:12:31 -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=6nfNzIAdvv+2u2nlDiEbeWjNRvu HHWtTui6XJIgYRnc=; b=jAUnEuWco8XlUL2BK4xM3qarlYtcrL+3VZ0Ym1RM8WD 5b5AAbDS7DVtJLbQknXzWWrhrpvUmpN+U91zfJ/soaK39ndvePIEKUYrmuaYORGT 4x4KrUOhaCRClx3KNGcWEfuICJLq4t/tib5EP7eCG2goCt9YRerKedfW13jepPtt gQfFqQdfKJECr7Ryku8u4/aj91qVPIWaanSp5Lf6hJ9DyGbX3AlSGd6xbVjW8cKl 1YYlss8WlFoEHFBdGOQIyJU95rSRjeLHy9WnuIQ0/RukKbrtbo/BcUFoTVAo47LU RCDQDZR3nu5zpnpUyMOWUI2krXgijryDKSx0XSSXa+w== 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=6nfNzI Advv+2u2nlDiEbeWjNRvuHHWtTui6XJIgYRnc=; b=Hu4oqsVsaTtiSj5i7jvC4r NsH/ZN/D2lCDRDqGz7TrWtTeQC8EuTYqs8G+Ezfb2mLymz9Xa/BzSxNEG9ZJ/gkl aM4h2IdDYABb7EuvQadKyThkjSB7SWHRbP7hEXazK9mRUBdqlSu9S/LCB9qu/1uE cc7vfIdIqQ9TBsQB47COChmIFjY4vopQ9L7wsIbPBJyzNRq84CIRqr0yf4Z2SekP KnWNl28M5SNbFUF8ctmDHpeEgz8cJIN06TajSckWZuIWNk+TkiOD49pxb2TyMkQz z2IAUcviiPttjrseNGyOyJGVGz00DUZASBdrdOIzjfR1tBqNBwXhPMzrz2dCQdpw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefjedgheegucetufdoteggodetrfdotf 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 725C43280066; Tue, 2 Jun 2020 10:12:29 -0400 (EDT) Date: Tue, 2 Jun 2020 16:12:28 +0200 From: Maxime Ripard To: Eric Anholt Cc: Nicolas Saenz Julienne , DRI Development , linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dave Stevenson , Tim Gover , Phil Elwell Subject: Re: [PATCH v3 032/105] drm/vc4: crtc: Enable and disable the PV in atomic_enable / disable Message-ID: <20200602141228.7zbkob7bw3owajsq@gilmour> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6jdhhfajj55wnhto" 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 --6jdhhfajj55wnhto Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 wrote: > > > > The VIDEN bit in the pixelvalve currently being used to enable or disab= le > > the pixelvalve seems to not be enough in some situations, which whill e= nd > > up with the pixelvalve stalling. > > > > In such a case, even re-enabling VIDEN doesn't bring it back and we nee= d to > > clear the FIFO. This can only be done if the pixelvalve is disabled tho= ugh. > > > > 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 FIFO > > there, and in atomic_disable disable the pixelvalve again. >=20 > 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 should be covered here. Maxime --6jdhhfajj55wnhto Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXtZeTAAKCRDj7w1vZxhR xVJqAQCUmpR8JL8pnnKjcPFlmgxyfzwLZXpVwBbL1P2+kZmIMAEAtrzlIP25oS5g 9aixg7Ifrmc88nWmBcIbxDH1tuDcFAs= =Ak49 -----END PGP SIGNATURE----- --6jdhhfajj55wnhto--