Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp591650rwi; Thu, 13 Oct 2022 02:27:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM45XmnbO8iRLfp6qHa/69Jxo65Jn3L/EMN0IeSr/WOurjPjIZY/1qald9veHNlvPyMHGDR3 X-Received: by 2002:aa7:c956:0:b0:43b:206d:c283 with SMTP id h22-20020aa7c956000000b0043b206dc283mr30775941edt.381.1665653272816; Thu, 13 Oct 2022 02:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665653272; cv=none; d=google.com; s=arc-20160816; b=npU49KXxeXUIR4W63oUG0HM0hZm+d9zXFrzL+kQgQa41MH0yEZ4gtMhdkLZG065WcY 10QiN172ZvYQFQasfDSzWuWVYDFzgLOCc1T5cW8ZfkkxZZtECU14C4WCjsmgLmv4QpJu 8Gbh0saThoHFkTz8ju0BGNeklqrkFFKMo8fwtzTirKxiLemBaIb0r1UpD53s9AkbdeaJ oBJuGeW2DWbd9ykFAl7CwTkVfUNAZbmXM77Mum4wQAvqd3VbTsOSDRv9n3YxekjFK0K8 p51OKCgzAI6ZoIBEX3hw3voUdz7VllNcgIYWHi1gaQkq5KnA0qU/PH4SeUx4GGk1Bjzb EXGQ== 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:feedback-id :dkim-signature:dkim-signature; bh=CTVtQG5QiCzBfichKHTfygU6liaBhjCGgKbiqW/tDag=; b=LAT7CqvJ2d8OiK5l28j+stIzT+gtt+XHeYu4fCBzaM983F9NJp7O4wvn/68XH5PTCA u3/vAASGddHJWSFGkYdrhEshaDIZe0Uvb7oqcBxsRx86uT/jeB6LxmjSyyTY86ZrtAVr TiMsnNmbRjOg8iToxBS8oggHdFNXvAeOpI6iypO/nIjBjRTpVuFfc+uvnwiDt02tV8mF jftvNp5haAr2lOoa48Oh/FbpWANUHWe3Z4Wpb08KSAGMVCGxOm75V6qAr1aCrJeM/AWX A2AGnE4AKusY6YuV6Rgy5axEiPuHlaWtXF8/3p7HFnfd1pt0xluxUbp9qAz+s+ja7vZs /H1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=meAYUrWf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=VXzOGEqs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a1709066b9100b007813b1924ccsi14709537ejr.934.2022.10.13.02.27.27; Thu, 13 Oct 2022 02:27:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=meAYUrWf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=VXzOGEqs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229554AbiJMI7z (ORCPT + 99 others); Thu, 13 Oct 2022 04:59:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbiJMI7w (ORCPT ); Thu, 13 Oct 2022 04:59:52 -0400 Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C00EB13D0D; Thu, 13 Oct 2022 01:59:50 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 2B83C580467; Thu, 13 Oct 2022 04:59:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 13 Oct 2022 04:59:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1665651590; x=1665658790; bh=CTVtQG5QiC zBfichKHTfygU6liaBhjCGgKbiqW/tDag=; b=meAYUrWfzZ7ZLVN/7//nT42nm/ J+AwjjQY0RXplKHkADeZH+p/c8Hr4fjdsejYw9Xt3QYy8catdQAKDWvipGj2bZI1 sCQ/UuJ83ZWusQyumr1XXjfXf+20a3LZkhctBY93hlcvDzKDX9gwAbNJVp/4UA1x E3SHpxXn32ShXojQA6Oxi1FYZ+34Co3071J4qV0QkbyM1fwBngTzr3t0YVUfeG7f F0DgfKhAq1uaaI1zQIa2DQUEoGZo7onubZlvDLQTZrwmS/z9672F9DlVDSD9se1m iiPwyKsbskNK1cgEE73pcrCGYz1pyD8CTHn7aamlIS/JHEiCSdUjsNfddPjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1665651590; x=1665658790; bh=CTVtQG5QiCzBfichKHTfygU6liaB hjCGgKbiqW/tDag=; b=VXzOGEqsT64dNHSl3mUD+EG9RJDP4bnk6x86Jh9cjWCa N5KbLjG1LbZtRyLDtvDhMHiUZxJFnwEU/hFB9NClM6CSbquX7lghRinvORkEUnv1 xZKac1MNkRB11ZPECAFkcKh1BVtNKshNBghQDbu6JOZp4+X1RU1aH58Ew9QWePDu nFiB0IJFeEDo+M55e0L1Ot9am0rXlCNZW2bop94+EcDgjwb7lm+BA0+4fOqPuFQv haraG9KkzNDHJ6qMxBsJ0uiaRCgpdeGlukAtuwhDr9hhr1cijBVF3sTnYREbKmBj U7v24AByTwLbO71l+beZ11j4hxulG+qAH2w3nbtTsQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeektddgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpedtleekjeeiudefvdfhieffteelhfeivdeliefgieeugffhvdelieffjeei geetjeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggt hh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Oct 2022 04:59:49 -0400 (EDT) Date: Thu, 13 Oct 2022 10:59:47 +0200 From: Maxime Ripard To: Florian Fainelli Cc: Daniel Vetter , David Airlie , Broadcom internal kernel review list , Michael Turquette , Scott Branden , Stephen Boyd , Emma Anholt , Ray Jui , linux-rpi-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Dom Cobley , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 0/7] drm/vc4: Fix the core clock behaviour Message-ID: <20221013085947.jux4tfbh64ldluin@houat> References: <20220815-rpi-fix-4k-60-v2-0-983276b83f62@cerno.tech> <20221010114420.beytjynzshjgiy6y@houat> <395633de-193f-609e-abc6-9dddb2cae3c0@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xi2nxcoqs7owfyl4" Content-Disposition: inline In-Reply-To: <395633de-193f-609e-abc6-9dddb2cae3c0@gmail.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xi2nxcoqs7owfyl4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Florian, On Mon, Oct 10, 2022 at 12:07:22PM -0700, Florian Fainelli wrote: > On 10/10/22 04:44, Maxime Ripard wrote: > > Hi Florian, > >=20 > > On Tue, Sep 20, 2022 at 02:50:19PM +0200, Maxime Ripard wrote: > > > Those patches used to be part of a larger clock fixes series: > > > https://lore.kernel.org/linux-clk/20220715160014.2623107-1-maxime@cer= no.tech/ > > >=20 > > > However, that series doesn't seem to be getting anywhere, so I've spl= it out > > > these patches that fix a regression that has been there since 5.18 an= d that > > > prevents the 4k output from working on the RaspberryPi4. > > >=20 > > > Hopefully, we will be able to merge those patches through the DRM tre= e to avoid > > > any further disruption. > >=20 > > Could you review this? Ideally this would be merged through drm-misc due > > to the dependencies between the new firmware functions and the DRM > > patches. >=20 > I suppose I can review the firmware parts if you would like me to I was of course asking for the firmware parts :) > for vc4 I am pretty much clueless, and despite efforts from Emma to > get the vc4 driver to be usable on platforms other than Pi, that never > happened unfortunately. Stefan had the same concerns, but I don't think that's a big one. If needs be, we can move the call to the firware into an if statement or whatever and support a firmware-less device. > It would be better to keep the firmware and vc4 drivers decoupled, > just so "wrong" assumptions are not made, but for all practical > purposes this is the only combination that exists. I know, and my initial proposal was relying on a generic CCF function to implement this. Stephen didn't feel like a single user for it was enough, and there were some technical drawbacks too that might not have made this solution robust enough. Hence the firmware solution. Maxime --xi2nxcoqs7owfyl4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCY0fTgwAKCRDj7w1vZxhR xWmxAQDOTnHICbSvwbYwASVkNAnE/Tiwz+E7mi+miG42l+Xi8wEAy7apqdl/hFYY g+PNXCY9HOx+PMldyNRRP9lFgFC1sQA= =oC3j -----END PGP SIGNATURE----- --xi2nxcoqs7owfyl4--