Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1271790ybg; Tue, 2 Jun 2020 05:56:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfENuoo05zlugyiVRPY4b+l9sSrI3Qw0pclCy8cSlj3tpXjcw07wJR9a7dl+fMhQ0E9kvv X-Received: by 2002:a17:907:720f:: with SMTP id dr15mr1540758ejc.486.1591102609876; Tue, 02 Jun 2020 05:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591102609; cv=none; d=google.com; s=arc-20160816; b=IZ9n9rGJmqzTdwgNUGhIll6B18m0rlvTt/FebP5KoEyHlZlq3fX75NR3z9FqgYdTm7 pn5R1MdMqR5cuOW2o3fjT4mHEjHSuLVfsLeqCa/32kD9Gke6ZXfX18h2fjze2DEZb/wF UBSYhbTU1sFyYDpWDMFxM/Jw1UsY/18kSEDDuRxFsh04lCAQZy0Urw2gcmZCJ49By+jf j/VHpn0gFeggaTkwvxygWxSVaamuc9s6tGC4rCbCCenivx2w2JNdwjGR1I8cjN5HFMwp tTZtVPjPqKNcZs7roUTF6j73UTL3+Gxk8n92qp/bFEAHuVUNZErU1PxYuRy6LwUZaD55 5qzQ== 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=WDq+umCpTeMy9k3W0/Wp/zsjIGBwGG2fZVoUDuvc/6I=; b=BT6h2zBL9eaWRjOjdsnSGty2jf9g0MPD7/nF7mKoyPvg1y77q7i8B+dPexeIWC0Nmv 6Ql/9wbO+7P535ZK3Kbt9cCjw6wRVhNgZnfMs7jJ04E1sthOoX/ulLs1bDEmO8JDzkcu OpVXpS6hvs1vB2XoetHJbyJTc3Hyb0mlybr9c5hFLDIcoow5nVdIvQ0OCa7sPQu6oHG8 5slcz6Lj8FHu6HOxlzyBf5ZfVWRhALlBQFpWMp6Bqn2O4boUQJu0tHQy0rCustEwOF3f /IjAUCu/jhfRjQVSTxLQ3yrg+ZW6+Yv39aqe1DZpsNCs/07UEaIjIqQ6tH+dBYjVGWYY cttA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=f45OZi6d; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=BV685FeE; 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 bc12si1486659edb.348.2020.06.02.05.56.25; Tue, 02 Jun 2020 05:56:49 -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=f45OZi6d; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=BV685FeE; 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 S1726485AbgFBMwc (ORCPT + 99 others); Tue, 2 Jun 2020 08:52:32 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:49817 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbgFBMwb (ORCPT ); Tue, 2 Jun 2020 08:52:31 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 333E85C0060; Tue, 2 Jun 2020 08:52:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 02 Jun 2020 08:52:30 -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=WDq+umCpTeMy9k3W0/Wp/zsjIGB wGG2fZVoUDuvc/6I=; b=f45OZi6d+1yiR3+fuUjVx/OffyBQzXpKlPQbYfJ2G3K JbM0gya4DR68naiFqT2uxODNVG5DStLzdE0iZ0Hnzxalrq2wgoa/aOXT4CymRy1o wmlS4dGmwPT3KP/RICQd1ql2qMZepWk1XPNZ3QnD7p3P5wzq618XIg9N+hZsTfNA /Pr3d6A/XzFKIFLxaADMbIIVVCjUC1SV0wuzNUvMN40DDoDN1UIfl07lvtYIpqbC m9WK5McK+v9DLGrh7eQaiL4t8K0EVgAUPABhuctzK69htNR4z3RvbvlyQrKNenkX sshBlFSNkun213PiCHeWnXf9bfPEEPiexjX5dOiOeng== 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=WDq+um CpTeMy9k3W0/Wp/zsjIGBwGG2fZVoUDuvc/6I=; b=BV685FeEEZTDO3F+XTXwxI 2oE5GEcg0f7mM0Xy3W9x6iJ4YgMAPeOCwXEhZ/oAKIBLr7G5KoT9O8zlYS/+IX/C njwsrJSZ1aofL9UDyXcM7T69/UBQRoRRoHvgqDD/ZX4m1YMiYQZl8J+97TvvNgXE Wcb5s8xAA3VM25x17aAKG6VCjAKSefFKXAFpdSYYRjFJ7pR8CHGDlz/wlIij4kVP q0nF2WqzdaUFSgDw6+li7l1wnI4tsCwQ34Z3bZ8eCI7d7VaumCmJWJvVZqB5TY0I y31iE0eqEk6RLDbCFQucAqdpR0agta7mzml3QMtrfToY9xQ7uoR8rS9yzzl/YSRA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefjedggeefucetufdoteggodetrfdotf 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 027DA3060FE7; Tue, 2 Jun 2020 08:52:29 -0400 (EDT) Date: Tue, 2 Jun 2020 14:52:27 +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 015/105] drm/vc4: hvs: Boost the core clock during modeset Message-ID: <20200602125227.fe3mt5jnqd6u4pft@gilmour> References: <1aaadf9a5176591c891622cb00b0c50f42e569dc.1590594512.git-series.maxime@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ne6yctwhuf4mmo4i" 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 --ne6yctwhuf4mmo4i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Eric, On Wed, May 27, 2020 at 09:33:44AM -0700, Eric Anholt wrote: > On Wed, May 27, 2020 at 8:49 AM Maxime Ripard wrote: > > > > In order to prevent timeouts and stalls in the pipeline, the core clock > > needs to be maxed at 500MHz during a modeset on the BCM2711. >=20 > Like, the whole system's core clock? Yep, unfortunately... > How is it reasonable for some device driver to crank the system's core > clock up and back down to some fixed-in-the-driver frequency? Sounds > like you need some sort of opp thing here. That frequency is the minimum rate of that clock. However, since other devices have similar requirements (unicam in particular) with different minimum requirements, we will switch to setting a minimum rate instead of enforcing a particular rate, so that patch would be essentially s/clk_set_rate/clk_set_min_rate/. Would that work for you? >=20 > Patch 13,14 r-b. Thanks! Maxime --ne6yctwhuf4mmo4i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXtZLiwAKCRDj7w1vZxhR xVPmAP45n0n/bXaKZ1yE75klsmfyLSQrkPVnggB8TOLcoVWvXgEAoQBVPj7GmkAB XoSEMSgX4zgK/n0fW6bptMqt4QaM1gc= =P3EF -----END PGP SIGNATURE----- --ne6yctwhuf4mmo4i--