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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7053C433EF for ; Mon, 25 Oct 2021 15:29:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BB2EF60FDC for ; Mon, 25 Oct 2021 15:29:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233735AbhJYPba (ORCPT ); Mon, 25 Oct 2021 11:31:30 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:60927 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233592AbhJYPb2 (ORCPT ); Mon, 25 Oct 2021 11:31:28 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 1E5305806D0; Mon, 25 Oct 2021 11:29:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 25 Oct 2021 11:29:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:content-type:mime-version :content-transfer-encoding; s=fm1; bh=+uHGLlaZStEUDZoEdeccQ37+kW /i83PHcozXaWvbhgo=; b=IURZZj7zFAQUDtumk7HJCgGhkTR9/yGbRxtF+fBxL4 0ej6P1oMAmIfKiAZWAC+WBKBiDXkc0JDm+GzwU10rNQGFeq92g37i9imH/exTPbj nad8gr48jfLdnp5sWR0CNGQ1NmojYrQ1TKoHFRP4OB6Myu91uZs4bV1xWO+H1AJq ibtCgkteujo2gvHKRpsSeC6VFdX8WHKDLlBr4RVFdKezAfWPYnTWIxXPzMnyPzI6 9+SSrvNh0FKQ/KGpInUGmqC9KiiMNQZhzDl74IHpHh5F/s6lZgUb7na5EAaPwb6L LUFCNDuUx/upIimw5TaJwvMVTg38PD56tNUGf7qV1HBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=+uHGLl aZStEUDZoEdeccQ37+kW/i83PHcozXaWvbhgo=; b=TA8ZJsNTbMABO8HVsVkuF0 31fM+dnI2LcQirKoKy85RBrBIOf4TxefLO606cv2FK7NtxjU2aI+w0R15gudTwdW DEE1htwJlDOUs7pq1+OyjbS0wKc03RxIh6V4b3NtslhiqfibBRCP8FZsmJdUkcx6 PoHJ3LylJIa2kbl9sjvK8N8Aq7hTCggzLhyj6kC5ggmgxSt/WK/aGgs3diq9DWVc zz3yNRqU62425OXrd6YhBwhNWA3dgiK9z/PTmf4iEIz53NB50dOm9kUEEsqz53wO 28W5oR+qPS/QieV1y2ykKxzxOMrAf7A7tPXX2IZNUAt01rKPUfaynQesPQ95Jvjw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffotggggfesthhqredtredtjeenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeetieekgfffkeegkeeltdehudetteejgfekueevhffhteegudfgkedtueegfffg feenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Oct 2021 11:29:04 -0400 (EDT) From: Maxime Ripard To: dri-devel@lists.freedesktop.org, Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Daniel Vetter , David Airlie Cc: linux-rpi-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Maxime Ripard , Nicolas Saenz Julienne , bcm-kernel-feedback-list@broadcom.com, Emma Anholt , Dave Stevenson , Phil Elwell , Tim Gover , Dom Cobley Subject: [PATCH v8 00/10] drm/vc4: hdmi: Support the 4k @ 60Hz modes Date: Mon, 25 Oct 2021 17:28:53 +0200 Message-Id: <20211025152903.1088803-1-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi,=0D =0D Here is a series that enables the higher resolutions on the HDMI0 Controlle= r=0D found in the BCM2711 (RPi4).=0D =0D In order to work it needs a few adjustments to config.txt, most notably to= =0D enable the enable_hdmi_4kp60 option.=0D =0D Let me know what you think,=0D Maxime=0D =0D ---=0D =0D Changes from v7:=0D - Rebased on current drm-misc-next=0D =0D Changes from v6:=0D - Rebased on current drm-misc-next=0D - Removed stale clk_request pointer=0D =0D Changes from v5:=0D - Fixed unused variables warning=0D =0D Changes from v4:=0D - Removed the patches already applied=0D - Added various fixes for the issues that have been discovered on the=0D downstream tree=0D =0D Changes from v3:=0D - Rework the encoder retrieval code that was broken on the RPi3 and older= =0D - Fix a scrambling enabling issue on some display=0D =0D Changes from v2:=0D - Gathered the various tags=0D - Added Cc stable when relevant=0D - Split out the check to test whether the scrambler is required into=0D an helper=0D - Fixed a bug where the scrambler state wouldn't be tracked properly=0D if it was enabled at boot=0D =0D Changes from v1:=0D - Dropped the range accessors=0D - Drop the mention of force_turbo=0D - Reordered the SCRAMBLER_CTL register to match the offset=0D - Removed duplicate HDMI_14_MAX_TMDS_CLK define=0D - Warn about enable_hdmi_4kp60 only if there's some modes that can't be r= eached=0D - Rework the BVB clock computation=0D =0D Maxime Ripard (10):=0D drm/vc4: hdmi: Remove the DDC probing for status detection=0D drm/vc4: hdmi: Fix HPD GPIO detection=0D drm/vc4: Make vc4_crtc_get_encoder public=0D drm/vc4: crtc: Add encoder to vc4_crtc_config_pv prototype=0D drm/vc4: crtc: Rework the encoder retrieval code (again)=0D drm/vc4: crtc: Add some logging=0D drm/vc4: Leverage the load tracker on the BCM2711=0D drm/vc4: hdmi: Raise the maximum clock rate=0D drm/vc4: hdmi: Enable the scrambler on reconnection=0D drm/vc4: Increase the core clock based on HVS load=0D =0D drivers/gpu/drm/vc4/vc4_crtc.c | 60 ++++++++------=0D drivers/gpu/drm/vc4/vc4_debugfs.c | 7 +-=0D drivers/gpu/drm/vc4/vc4_drv.h | 8 +-=0D drivers/gpu/drm/vc4/vc4_hdmi.c | 13 +--=0D drivers/gpu/drm/vc4/vc4_kms.c | 126 +++++++++++++++++++++++++-----=0D drivers/gpu/drm/vc4/vc4_plane.c | 5 --=0D 6 files changed, 157 insertions(+), 62 deletions(-)=0D =0D -- =0D 2.31.1=0D =0D