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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 EA3BFC48BE6 for ; Wed, 16 Jun 2021 12:20:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C6F8061375 for ; Wed, 16 Jun 2021 12:20:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232732AbhFPMWa (ORCPT ); Wed, 16 Jun 2021 08:22:30 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:56811 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbhFPMW3 (ORCPT ); Wed, 16 Jun 2021 08:22:29 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 449BD580561; Wed, 16 Jun 2021 08:20:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 16 Jun 2021 08:20:23 -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=kDf3rNI2uOH/mcfgKx6Ye6XWRv3 V79fjGB5uhMQ4otA=; b=z2HdRZoa9JfWsbC3/UGzCONbdmyOQluULUbxr5za+LK poGy4GWzpeXRdvHiG2ozkcmblHdE4f7aDRQEwV22sob+3Ib/CwFxsOPtt0It3fhk JRLgiy81rGEr29WUK6sWSGkMdSZ/O7Y8k3yH6mPc+mzsG1wHnjtxf55/ETiM+m5U RA5Wb/mS6svr8WqjXQ57+o5nEjOCkZ/1cinQ8in5Ic5eQH/qrwSGtnFmlhXpVXMC U9mxbB8Bl+FlDYOPZ5oZuSYstypPUpVPxD0mtAwwk0a72hD6FR/fv7ODz0sk8HZa qiU7vqajfsaAvASh1cfPIadM99Bh2tsbMQMlcq3pKdw== 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=kDf3rN I2uOH/mcfgKx6Ye6XWRv3V79fjGB5uhMQ4otA=; b=bwkpCiX3G0+194zKJaLcoO 0k2zbPC/ySz5INgX1tKjrE3cD5iUwEohG7Uj6rd4cLunJPbDDCABYZBjeCrWA87Y UB7NoLz9HdaY8dXdbndcay/GOx/b9A9GrdtZZpdkAN2snrBEBOs1ULPsPYG4icp+ G3i+QwLhQKKivlu7bbo/+5sjae5N/F8DNfzMzKuZ4p6nBbkgy3PsWwBzjVgVS63s vY2egCWCYXUXwRV3kDnbfn5gUL7KtJ8iKaP+mdfg/SGDVDg2FNeE0w7ik4IfZPmI EXaEZeFQDyR5xuUohjvPMXUpajcIbpphTI+UoTpuZDNlyISYn6ruRD02lyLQeHOg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedvledghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Jun 2021 08:20:21 -0400 (EDT) Date: Wed, 16 Jun 2021 14:20:19 +0200 From: Maxime Ripard To: Dave Stevenson Cc: DRI Development , Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Eric Anholt , Phil Elwell , Tim Gover , Dom Cobley , LKML , Daniel Vetter Subject: Re: [PATCH] drm/vc4: hdmi: Rely on interrupts to handle hotplug Message-ID: <20210616122019.f4u2zndgbpb32j3f@gilmour> References: <20210524132018.264396-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="otvofflh35ejfizp" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --otvofflh35ejfizp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 16, 2021 at 11:09:29AM +0100, Dave Stevenson wrote: > On Mon, 24 May 2021 at 14:20, Maxime Ripard wrote: > > > > DRM currently polls for the HDMI connector status every 10s, which can > > be an issue when we connect/disconnect a display quickly or the device > > on the other end only issues a hotplug pulse (for example on EDID > > change). > > > > Switch the driver to rely on the internal controller logic for the > > BCM2711/RPi4. >=20 > Reviewed-by: Dave Stevenson Applied (with a compilation fix), thanks Maxime --otvofflh35ejfizp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYMnsgwAKCRDj7w1vZxhR xVmIAQCXmcjaJFVs11F+WGsGcVaGWocvj7QWlEeBGoMkSmHSZwD7BIQLyxZla74G iAWXVW1wzFikP4mMetsKBkzZdkR48g8= =2bbS -----END PGP SIGNATURE----- --otvofflh35ejfizp-- 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=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 EB9C9C48BE5 for ; Wed, 16 Jun 2021 12:20:28 +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 AF50261359 for ; Wed, 16 Jun 2021 12:20:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF50261359 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech 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 7DBFE6E588; Wed, 16 Jun 2021 12:20:27 +0000 (UTC) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by gabe.freedesktop.org (Postfix) with ESMTPS id CFA886E02D for ; Wed, 16 Jun 2021 12:20:25 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 449BD580561; Wed, 16 Jun 2021 08:20:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 16 Jun 2021 08:20:23 -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=kDf3rNI2uOH/mcfgKx6Ye6XWRv3 V79fjGB5uhMQ4otA=; b=z2HdRZoa9JfWsbC3/UGzCONbdmyOQluULUbxr5za+LK poGy4GWzpeXRdvHiG2ozkcmblHdE4f7aDRQEwV22sob+3Ib/CwFxsOPtt0It3fhk JRLgiy81rGEr29WUK6sWSGkMdSZ/O7Y8k3yH6mPc+mzsG1wHnjtxf55/ETiM+m5U RA5Wb/mS6svr8WqjXQ57+o5nEjOCkZ/1cinQ8in5Ic5eQH/qrwSGtnFmlhXpVXMC U9mxbB8Bl+FlDYOPZ5oZuSYstypPUpVPxD0mtAwwk0a72hD6FR/fv7ODz0sk8HZa qiU7vqajfsaAvASh1cfPIadM99Bh2tsbMQMlcq3pKdw== 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=kDf3rN I2uOH/mcfgKx6Ye6XWRv3V79fjGB5uhMQ4otA=; b=bwkpCiX3G0+194zKJaLcoO 0k2zbPC/ySz5INgX1tKjrE3cD5iUwEohG7Uj6rd4cLunJPbDDCABYZBjeCrWA87Y UB7NoLz9HdaY8dXdbndcay/GOx/b9A9GrdtZZpdkAN2snrBEBOs1ULPsPYG4icp+ G3i+QwLhQKKivlu7bbo/+5sjae5N/F8DNfzMzKuZ4p6nBbkgy3PsWwBzjVgVS63s vY2egCWCYXUXwRV3kDnbfn5gUL7KtJ8iKaP+mdfg/SGDVDg2FNeE0w7ik4IfZPmI EXaEZeFQDyR5xuUohjvPMXUpajcIbpphTI+UoTpuZDNlyISYn6ruRD02lyLQeHOg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedvledghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Jun 2021 08:20:21 -0400 (EDT) Date: Wed, 16 Jun 2021 14:20:19 +0200 From: Maxime Ripard To: Dave Stevenson Subject: Re: [PATCH] drm/vc4: hdmi: Rely on interrupts to handle hotplug Message-ID: <20210616122019.f4u2zndgbpb32j3f@gilmour> References: <20210524132018.264396-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="otvofflh35ejfizp" Content-Disposition: inline In-Reply-To: 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: Dom Cobley , Tim Gover , David Airlie , LKML , DRI Development , Eric Anholt , Thomas Zimmermann , Daniel Vetter , Phil Elwell Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --otvofflh35ejfizp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 16, 2021 at 11:09:29AM +0100, Dave Stevenson wrote: > On Mon, 24 May 2021 at 14:20, Maxime Ripard wrote: > > > > DRM currently polls for the HDMI connector status every 10s, which can > > be an issue when we connect/disconnect a display quickly or the device > > on the other end only issues a hotplug pulse (for example on EDID > > change). > > > > Switch the driver to rely on the internal controller logic for the > > BCM2711/RPi4. >=20 > Reviewed-by: Dave Stevenson Applied (with a compilation fix), thanks Maxime --otvofflh35ejfizp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYMnsgwAKCRDj7w1vZxhR xVmIAQCXmcjaJFVs11F+WGsGcVaGWocvj7QWlEeBGoMkSmHSZwD7BIQLyxZla74G iAWXVW1wzFikP4mMetsKBkzZdkR48g8= =2bbS -----END PGP SIGNATURE----- --otvofflh35ejfizp--