Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1387326pxk; Fri, 2 Oct 2020 08:21:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOcC0TgRwMp4989TS6BmyrrZ6SkuKAUKvj3ESqTfhA7RUAH8/sWLphCu8b/NXLYJm8IY+l X-Received: by 2002:a50:875c:: with SMTP id 28mr2899456edv.20.1601652095523; Fri, 02 Oct 2020 08:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601652095; cv=none; d=google.com; s=arc-20160816; b=fFbUQYWKZArySwfOOj8or/EE54+f91UYpRkE2kZErBedPK45b6FbfoBszIbDSo6Ue8 R5zr1w66jHCdQ0wmOGblaXFBg1INmMkRK0VZqi2m2sF1dhoAhS/TWXsfEzQQ8bacpvMl wOXHgAqO0AL0wnKvI2yNWYu5FDhEl4JW7jUo91bgxo56tGm/4Vq6kLr8HO8XHvb66J0B +JChlgh24fQWe/UAsE1dyYtmI14kUXGZxHdoRkBsj/9tpA2gQYgLfOmrnEk7qe8T7rMq nAtPhEvsls4RLtN0vT+sjc/IviE7b9zGJ3d0cp2ra55Yp/Fn1c96GqT60CSinnyhWLG2 wNmw== 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=fuQIVEvbO1kono/iv5RweNEUdexBHUOR2cPd1pYmjME=; b=P0eCwHtMzh6SDkH493TQGvy1pjcXWJ/GdrKLIuQYw7Xy6L2Uen1mIDG/koo5UHueMf g1ce7QhFC4MbT74qaOXDQYTRUCSkEH13Bv8EemXGDR/vgJ5SSC2a423zGGIaUArpLcMc a17HJga+gQmqzGVoTduSYM2Y4OYIMTBR4/vfU2lwGxC2pssNyoGvTwsLELM+WomksYbW hOkeEkDtojTCrAtZHDKBnBXAri8lGYwVV7DRSc7vMB/DmFhpw6VGXTm2NXyF5cviRdnY 91EkMsccbZofCx7Y8uS1NozbcoDLTJuA/GRL1bMJEUU0YSsS1q4KG32IS+S+7dfhUW2l AAOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=nNNES+vR; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=OPSYYDac; 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 g1si1231209edl.158.2020.10.02.08.21.11; Fri, 02 Oct 2020 08:21:35 -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=fm1 header.b=nNNES+vR; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=OPSYYDac; 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 S2388243AbgJBPT7 (ORCPT + 99 others); Fri, 2 Oct 2020 11:19:59 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:36195 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbgJBPT6 (ORCPT ); Fri, 2 Oct 2020 11:19:58 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 908FB58027A; Fri, 2 Oct 2020 11:19:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 02 Oct 2020 11:19:57 -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=fm1; bh=fuQIVEvbO1kono/iv5RweNEUdex BHUOR2cPd1pYmjME=; b=nNNES+vRA5nSWOMhmD6PUGtfn6V+bz3Mr5Zlqg69LkK DEvQIAJdKl41PkYIQEmaybih5VPO+JtgWyLYm2I1whLgVuKcnaulkQy1lMWav7sh x+uxhoR2ajTlVGpqdRC/NcgrAmkDDdDhjuOeX7guHYGWi1wSoFq5QFBhHC3ksjZB XC58OvFi2C15UWdtRCdG+Ytj9fAYx5FkcM/YwjUy8iy08e4QywYmJkj7AHFZZOQM 3o2BeLdtf057jUa33FL38F3IEJA5QO0rzoQDp8qPXmnz9h4lm62gfJpXJhn6KzOU MU0Uejm4jYhgOoTZGsd40bGkFSCGEIaYiPfMSwgLUCA== 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=fuQIVE vbO1kono/iv5RweNEUdexBHUOR2cPd1pYmjME=; b=OPSYYDacNIz8xaN3rE1XW5 O7jmnX+wyJ4TAQbkxDHndriO22UN2WqBlGPB03KM1PMF2o0Dk6cjl3BflabE3p55 Eb5Peu68ioymn+e0Ts+WAszPr2paJ24WNNUsn1LK8Q9m/S3I8oDYUsMMppvtyBwi P7jmuTh/hJuobkd77O0RXJH5fy7+SXb/0VWUCxI14o+iwEwHY3QZsNusJt4R7u+u CeiYPGV4Y8ghsP7VdkE8N4LsznY484t0PxXiD+JgFYyUIFCsEQrujMEgzx/X12ev h/SObmZCk5v705q1ph/+5zaT8mYJuLjUfJWEoeyv8TqqUpLn/jb0b0zwTUGTc06g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrfeeigdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh 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 9B758306468A; Fri, 2 Oct 2020 11:19:55 -0400 (EDT) Date: Fri, 2 Oct 2020 17:19:54 +0200 From: Maxime Ripard To: Tim Gover Cc: Stefan Wahren , Nathan Chancellor , Nicolas Saenz Julienne , Eric Anholt , Dave Stevenson , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Hoegeun Kwon , Chanwoo Choi , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Phil Elwell , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5 80/80] ARM: dts: bcm2711: Enable the display pipeline Message-ID: <20201002151954.wazqc5riesdomlpx@gilmour.lan> References: <20200929221526.GA1370981@ubuntu-m3-large-x86> <20200930140758.gummt3umouva3wyu@gilmour.lan> <20200930163823.GA237050@ubuntu-m3-large-x86> <20201001064843.dlewcu3b7dvqanyy@gilmour.lan> <20201001085402.t6mzzwzplviunhoc@gilmour.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i5tdrqg3g66y6hmr" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --i5tdrqg3g66y6hmr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Tim, On Thu, Oct 01, 2020 at 11:15:46AM +0100, Tim Gover wrote: > hdmi_enable_4k60=3D1 causes the firmware to select 3.3 GHz for the PLLC > VCO to support a core-frequency of 550 MHz which is the minimum > frequency required by the HVS at 4Kp60. The side effect is that if the > display clock requirements are lower than 4Kp60 then you will see > different core frequencies selected by DVFS. >=20 > If enable_uart=3D1 and the mini-uart is selected (default unless > bluetooth is disabled) then the firmware will pin the core-frequency > to either core_freq max (500 or 550). Although, I think there is a way > of pinning it to a lower fixed frequency. >=20 > The table in overclocking.md defines options for setting the maximum > core frequency but unless core_freq_min is specified DVFS will > automatically pick the lowest idle frequency required by the display > resolution. I'm wondering if there's some way to detect this from Linux? I guess it would be nice to be able to at least detect a broken config to warn / prevent an user that their situation is not going to be reliable / work really well (like if they have a 4k display without hdmi_enable_4kp60 set, or the issue we're discussing here) Thanks! Maxime --i5tdrqg3g66y6hmr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX3dFGgAKCRDj7w1vZxhR xZd8AQC71Lqm9Rx6Bn25r4vP5tv4+LK2v7EXwVZFwoR2iTjOJQD+PpZ4o7Ra/Hbr Ot6j3CIWK3fNTLCOC2ZtYnNoXoJi8QM= =OfVU -----END PGP SIGNATURE----- --i5tdrqg3g66y6hmr--