Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp460258pxj; Wed, 16 Jun 2021 06:29:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJza2i7VDV+PdJqkcSKOE5RXO2wX3rVRMOzKLsAh+wzHyXExVHKt4Hj6Iyjr9eznpuny3+Qz X-Received: by 2002:a17:906:a043:: with SMTP id bg3mr5342021ejb.444.1623850176413; Wed, 16 Jun 2021 06:29:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623850176; cv=none; d=google.com; s=arc-20160816; b=Xn6+//153SffwxNlk2r6LBu4bNdLeSwcTgcA4vwsZM0gtjLzYDCvHKQTLMlCAf8Ech yX1/wWMGr3BFunPKhGxNCXLLreonTFYzbxQ5ZFBrDjS7ouxRUfiB+YYTUgbq/1g/wGpe SxwbPWBoZcbKr0VXO1KY/5qggp1cejWpIh6qw38ZkdP1L0p5NvcF1Naon7a0z+oGvvcJ NS0Etss1mPxokCg/RXkbVXvU2Yvy723cOenIJDOBSFRz7UwY2xUitDwTRLXW22QvnPQq kCu3O2B7+Grw77LLpnl7XmwMxxpAiRi3o/DyOaUytoQ0QRBixQ6g3HW8ySpiw6m225Z2 AUlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=1sZx0enZ5rPT3TQVb1y0Ba59AJGPrg0OKYOsTh77X58=; b=BEwfhPJ7uyxBdl0tltX9iuJncrWVhFTeUUmmoc/u3npHFpca2tch9HErI5eKBR4ham BoPgLCxDDyd3M+pkcG5t5P0CB2Ynw1OIHjQiKUJ8ycoOH9/LT64nRRso/TR3AT90D4V3 MnF/waoyuliGxHdLc/zIS4BP3mW9vDxYO2A3uiP45ovMDjK5ud2l0aDjtUpnzHRn76eV BdXOnNsLr5+4X8FQl/u8eW5/rYJxHZT7Ze1XB0ZmEHEU6C4xHFgiEjO9BvVahVMIV3Pt 6Gup4ug5AfadUpb71pxIO6bV0ptjZLdAq26oWezmIKYJNTk/JvIkwZVWvLnN7tHOmnuA zs0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=tntzNxLB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Ar+Lqs8m; 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 t7si2242351ejx.540.2021.06.16.06.29.13; Wed, 16 Jun 2021 06:29:36 -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=tntzNxLB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Ar+Lqs8m; 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 S230262AbhFPMiK (ORCPT + 99 others); Wed, 16 Jun 2021 08:38:10 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:33343 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbhFPMiJ (ORCPT ); Wed, 16 Jun 2021 08:38:09 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 938D8580564; Wed, 16 Jun 2021 08:36:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 16 Jun 2021 08:36:03 -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=1sZx0enZ5rPT3TQVb1y0Ba59AJG Prg0OKYOsTh77X58=; b=tntzNxLB46PwqxA9WAo2p+Kn9/LfuWqGfASWR3L7YkL M7iz2E76/IN7BMTeZMrh2VyCek5EENTJafi2gqUezm1HzjbkytlL+AJ/tnEcjVM4 eXG8W44yXDdPl4rNc/aEDItlA7WNjVfScGEizDcdlMTdO0x+XL9TK3H+pq2V7jwa RMnUyzrg0FfML/+eI52F4IS2x1m88XHpziO8guH1xeliHAQl3he6VWhSf9F7Ag0s zTT03OHPE/xxV5VhleEKLIZnyaDOSkSWrtojAbanB4uueSQb8KQ649MOeSJwu9Vx xCR1QFwoksk30jP71UXW6XFHwWurMRP7fBIB4fIc8aQ== 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=fm3; bh=1sZx0e nZ5rPT3TQVb1y0Ba59AJGPrg0OKYOsTh77X58=; b=Ar+Lqs8mYjHAI0PQADqT6I 8DQCuwYHjlX/p3bKccys8lBdePbEc2+vp7A3CzkUDY4IDzwlCTBRoYodwCUqu2sf LXGgpFGjwPHxHUZyvS6u9Z0oEdqUphhNKjs5pE32xM0QKp3HXQH5laZDa9g8lbBZ Khb9qa5PQJUsgGW1jKwDkcBrf53mRJmSvdbcO20ELgPbnnU0orFjByS8FO7zgWbK c8/9bejB75J+wNalU3uVc1SzzA9Lql4pJdr+p9QZCz5+Jakku2Na2XSFLlQZiO8m m9YhdskJZ388c1Q6LSzRArN3USRtmG536ifugdoS35Zd50Q6HqrUdVlQIUfwABlg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedvledgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Jun 2021 08:36:01 -0400 (EDT) Date: Wed, 16 Jun 2021 14:35:59 +0200 From: Maxime Ripard To: Dave Stevenson Cc: DRI Development , Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Daniel Vetter , Boris Brezillon , LKML , Eric Anholt , Emma Anholt , Phil Elwell , Tim Gover , Dom Cobley Subject: Re: [PATCH 3/3] drm/vc4: hdmi: Make sure the controller is powered in detect Message-ID: <20210616123559.azuo4zudyexxmvsh@gilmour> References: <20210525091059.234116-1-maxime@cerno.tech> <20210525091059.234116-4-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vglgsjthekhzshnl" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vglgsjthekhzshnl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 16, 2021 at 11:51:26AM +0100, Dave Stevenson wrote: > On Tue, 25 May 2021 at 10:11, Maxime Ripard wrote: > > > > If the HPD GPIO is not available and drm_probe_ddc fails, we end up > > reading the HDMI_HOTPLUG register, but the controller might be powered > > off resulting in a CPU hang. Make sure we have the power domain and the > > HSM clock powered during the detect cycle to prevent the hang from > > happening. > > > > Fixes: 4f6e3d66ac52 ("drm/vc4: Add runtime PM support to the HDMI encod= er driver") > > Signed-off-by: Maxime Ripard >=20 > Reviewed-by: Dave Stevenson Applied patches 2 and 3, I'll resend a new version of patch 1 after some comments by Daniel on IRC. Thanks! Maxime --vglgsjthekhzshnl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYMnwLwAKCRDj7w1vZxhR xUIoAP9gpqjRqeNY34XJL8wXsE/w4cW6+rVfVIIFqYrRkG6auQEAvnvTLmxyhQBN p4+TOmatXf17NWJPuaennvoDX2CEVgs= =egla -----END PGP SIGNATURE----- --vglgsjthekhzshnl--