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=unavailable 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 85277C2B9F4 for ; Mon, 28 Jun 2021 12:43:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6C2AB61C82 for ; Mon, 28 Jun 2021 12:43:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233110AbhF1MqO (ORCPT ); Mon, 28 Jun 2021 08:46:14 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:49115 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233061AbhF1Mpl (ORCPT ); Mon, 28 Jun 2021 08:45:41 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id C2BD55804FF; Mon, 28 Jun 2021 08:43:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 28 Jun 2021 08:43:15 -0400 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=fm3; bh=NEZ2QM3tf8Lht QofwUv9vuRki9oLSU2r4DmlnZqyNbE=; b=AsQm4+x7kdJzjV4XLzrn6AYvVMFth QeovHJ4w+g6o/GDcN3nDOxzHqi5M/w0C/eD1e3f9g7E0761Z+0zxJVYEm0wJh6Os fUh5DwW+CgaF4EjXKk1jBU+3qnrtqrKdyHJY3E2OTIDIIjM1fpfruIp2p5iMpfTw KfmouiJ/gJdl4l4fdCUgD7PxjczmQSheIysDFfXDafHD3Hjjti5SA5qzzW17+uTg OftuBLkiC0tP3BMTVDItKVOCnE2apBX+PFetQAZIoGSop0lbktbLvBtg1x1XjUDE uhPC1DiPehFVSyt708Vc9mqjmX9PWf6VTwm95a6+wFYx1SZLtEwvvxvIA== 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= fm3; bh=NEZ2QM3tf8LhtQofwUv9vuRki9oLSU2r4DmlnZqyNbE=; b=lCl4cvM1 1mrxxON5TKjJ7/0Ot1vAaReQbl5ehcMPHOKQy1jcVmTQThbCaGw77Z8+8ZQ7ctFS Tt+FNugvtsa2OUbu+yZu+Q9GyGBx9Wnzic0lRVMFswt0FSpyVtrH7pCqWTFS3yaH 0KkXyQKJFIduhlHCL+RUrR94aJ6qO3WZ8lp+aYY5+qvR1ugz9Z4VlwLgJg+Krq1O JC/BNS0DArOEjsb2FgV6MEJ3X3ixb+A9bm5Q2qJxrbBnOdDk4v4iDxKHtLLeOteM 0dk1EGmIKFYho83AzolfnIMNEB5zNiQyIFo7BoSV17pJi6Ewg4j/PVw5H5GzT0aJ FBR6LW9Vl2HuKw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeehgedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Jun 2021 08:43:15 -0400 (EDT) From: Maxime Ripard To: Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard Cc: Dave Stevenson , Phil Elwell , Tim Gover , Dom Cobley , linux-rpi-kernel@lists.infradead.org, Maxime Ripard , Emma Anholt , bcm-kernel-feedback-list@broadcom.com, Nicolas Saenz Julienne , Eric Anholt , linux-kernel@vger.kernel.org Subject: [PATCH v5 08/10] drm/vc4: hdmi: Raise the maximum clock rate Date: Mon, 28 Jun 2021 14:42:55 +0200 Message-Id: <20210628124257.140453-9-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210628124257.140453-1-maxime@cerno.tech> References: <20210628124257.140453-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Acked-by: Thomas Zimmermann Reviewed-by: Dave Stevenson 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 e7fdda8a1bfa..46f656fd31b9 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -2280,7 +2280,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.31.1