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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 D6E50C433DB for ; Thu, 25 Feb 2021 16:00:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9210664E7A for ; Thu, 25 Feb 2021 16:00:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231881AbhBYQAy (ORCPT ); Thu, 25 Feb 2021 11:00:54 -0500 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:41895 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbhBYQAx (ORCPT ); Thu, 25 Feb 2021 11:00:53 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.west.internal (Postfix) with ESMTP id 745C7245; Thu, 25 Feb 2021 10:59:23 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 25 Feb 2021 10:59:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=vNuKIbp7BuPiX nLOOr76B0JicBZXr4Pja2u8aj47hkU=; b=H/aY/ihbkXT8PD4DPlkWIaxEtc5R2 Gq7VWUzah0AcUuq8KUoq8SL47RxY4p9p4LgGKhMJQb7Bz8KbgLeZjVdBrVRMUcMM iPcbzz30F5IaQgTZFl+QOua+IfVpaqIaAgaXv0QxsoEruetiM8GurM559VYMcxdw Jycy73hGwJRyIu+h1hdWSajcuTv0vsjhd1O+QYdSTWGgYtaoUHkXzLSBhjY0FvDr 9xEcRRS+dyRZz4ao4Jag2QsizyQrhcgea4c2JtjE8U96r6+nJQyeMI7cBuasJZWj snGqne1aeuuhwJpD8JW1+csA2j6Ya3mQP34gKZH8rTnu/QryTRrlFGQGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=vNuKIbp7BuPiXnLOOr76B0JicBZXr4Pja2u8aj47hkU=; b=XrQz4Kt/ Pdg/2o0qh4QC7qkYqjMTBncO6vaqtJKVsQ4M6wyk8qmvcenFST9kbMJE+C8LrtXz KMUjJoni4hK7WM/uLm4Vas6V/M4nuTOjsm1/lh1kWJ1rH5jQcFdG9if3ODkWTJB4 W+cu+mGRlViXCx/pPst46XKOFcSI6XZZY1j7NR0BjWzLLdoGpN+/dU+iyKWPgvhc VXNKhPWiuQRerGzoJfvqMI4M00VbtTgcUWXBLyDOU9G8b/d061v2bjl6+JZkAMeF VMkXHMvOcE5KO6fCAjcigNWCOmzxiautJQuTyXqYyklzYXdeyhBfb7kT3c5WWZ5m UkwMsr0ir/M8Lw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeelgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedvnecurf 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 D48D81080066; Thu, 25 Feb 2021 10:59:22 -0500 (EST) From: Maxime Ripard To: Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Mike Turquette , Stephen Boyd , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Phil Elwell , Nicolas Saenz Julienne , Tim Gover , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Dave Stevenson , Daniel Vetter , David Airlie Subject: [PATCH 6/8] drm/vc4: hdmi: Raise the maximum clock rate Date: Thu, 25 Feb 2021 16:59:07 +0100 Message-Id: <20210225155909.1853812-7-maxime@cerno.tech> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210225155909.1853812-1-maxime@cerno.tech> References: <20210225155909.1853812-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Now that we have the infrastructure in place, we can raise the maximum pixel rate we can reach for HDMI0 on the BCM2711. HDMI1 is left untouched since its pixelvalve has a smaller FIFO and would need a clock faster than what we can provide to support the same modes. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index 1a6babb53cf4..27464add6468 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -2177,7 +2177,7 @@ static const struct vc4_hdmi_variant bcm2711_hdmi0_variant = { .encoder_type = VC4_ENCODER_TYPE_HDMI0, .debugfs_name = "hdmi0_regs", .card_name = "vc4-hdmi-0", - .max_pixel_clock = HDMI_14_MAX_TMDS_CLK, + .max_pixel_clock = 600000000, .registers = vc5_hdmi_hdmi0_fields, .num_registers = ARRAY_SIZE(vc5_hdmi_hdmi0_fields), .phy_lane_mapping = { -- 2.29.2