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=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 C10E8C4363C for ; Fri, 2 Oct 2020 15:20:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 27AE2206CD for ; Fri, 2 Oct 2020 15:20:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388256AbgJBPT7 (ORCPT ); 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-- 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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 D3528C4363D for ; Fri, 2 Oct 2020 15:21:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 7A911206B6 for ; Fri, 2 Oct 2020 15:21:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GYILiyk5"; dkim=temperror (0-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="nNNES+vR"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="OPSYYDac" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A911206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=w0cwpX32eevOBweNHXfsNmB9OvEV2AsHuhDIEQ1SKyc=; b=GYILiyk5T/LDuSkU4ooP9bK6m DBEGEjcfq7MVzj58RLDd2fkOVkXFQiCq3bL1Skk18SYNlpz9aA5PprI/X30ejT4TdxcnouZwlrrVe hwcu8CRPY1kFsFbLhR7T01dqg93ZfeILw+C1UvdlWt+Gi7C6O/6qFS/7pVL7eQ4XlPog324VjcbKY y3kJUR8sKKdhytUbx4Gm6AAKKqvRqpNSckFZz8kN9vo3Cw4DtuxS4vNf2mgO/2zygkiSaRPL7LVHH UB8qIKhrmLZSbw6MV4ke/f/MvaTOgRwmqo0ds7IWvBfULHXW6Qpv7tX2AnR/4MZ5bYZ2jwkShPCQ7 /s7k57yzg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOMqq-0001gp-6F; Fri, 02 Oct 2020 15:20:04 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOMqo-0001fL-9M; Fri, 02 Oct 2020 15:20:03 +0000 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 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 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201002_112002_381932_C7EED61E X-CRM114-Status: GOOD ( 17.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , Chanwoo Choi , Dave Stevenson , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Phil Elwell , Eric Anholt , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Nathan Chancellor , Hoegeun Kwon , Nicolas Saenz Julienne , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============5773010493116848390==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5773010493116848390== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i5tdrqg3g66y6hmr" Content-Disposition: inline --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-- --===============5773010493116848390== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5773010493116848390==-- 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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 A08B9C4727E for ; Sat, 3 Oct 2020 09:24:11 +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 69EA6206DB for ; Sat, 3 Oct 2020 09:24:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 69EA6206DB 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 083816E364; Sat, 3 Oct 2020 09:23:47 +0000 (UTC) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4653589F08 for ; Fri, 2 Oct 2020 15:19:58 +0000 (UTC) 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 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 In-Reply-To: X-Mailman-Approved-At: Sat, 03 Oct 2020 09:23:39 +0000 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: Stefan Wahren , Chanwoo Choi , Dave Stevenson , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Phil Elwell , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Nathan Chancellor , Hoegeun Kwon , Nicolas Saenz Julienne , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============2118706970==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --===============2118706970== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i5tdrqg3g66y6hmr" Content-Disposition: inline --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-- --===============2118706970== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2118706970==--