Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp374385pxj; Fri, 7 May 2021 10:27:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyf2iXWuTQ3TX1xPQqTKVbAMjZoH3c5mcvnTO6ahCdN5czRP59fzDFJVluI+pYV4VLq0Z3D X-Received: by 2002:a17:907:3e06:: with SMTP id hp6mr11138152ejc.273.1620408475185; Fri, 07 May 2021 10:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620408475; cv=none; d=google.com; s=arc-20160816; b=DF9ZEi8AxPzFpTr+CUCahn382jpg8b2ZMjFK5ImIeTS5Nag15b48TgIcf+SJZHGAu3 wXOIRN7CixJsxPUhdX2mpvaAwCLG6mOYqVz6DyyRo8TGI3hxcKDyCR4EUBwRNl7QuaHH ctFAUqbN3zGNJKtZ8EYFzO9fryKMf/ybrfg7rmnbW8tOXs90he5vxN9m/MAm6ThbZMns WF96egXcBbMIOD2qp2krwRuPTCpezbZT55joqNH6lvauJ6zdf+WCgcPmL4u6KXzH1eYD AEorlIFjD0GIgr3xgqwrcdiMvwlZNegz2bi1v+XclBNelj7Xh54ZUhvyXyG05ldYuy93 XaLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=5M+6fjInAXB3YCU5vKSsEobsfbDpPN/+AxgvhrArl1U=; b=PEWrSyKKngUKznkjSazN4soXotJJDZbEUL/Z2uhhzZGTBqHZd/uGZ9AhIML2lQF4hh oUJXZ1qFmN4hw4v0kYPZyaTcoiR0tP5X6XUXcNFr8Ze+TtG8Fw4IWtER0VfKSccBeiM0 0RfoCql/mL4hl+a1z2Ivk/+CRusd+QjH6GbZoicUxrfK2cqhQmHLwHY8rop0ri4oE9A2 jAJ44da9fIbzhA7bqZP5bzS4aOH4BBhuIRSAvtwFuFcgrpop6na+41qR+j6u3enL7TCG dhSFJxkAml9gSwO/EuO09JGf8Glkq0te1hMI/kvjTekulFgzeyl4/tOJQ/nrLWE6JV+d fsmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=qT5A7zdh; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gIu9stUe; 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 j1si5412798edr.98.2021.05.07.10.27.30; Fri, 07 May 2021 10:27:55 -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=fm2 header.b=qT5A7zdh; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gIu9stUe; 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 S237848AbhEGPHx (ORCPT + 99 others); Fri, 7 May 2021 11:07:53 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:42255 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237859AbhEGPHX (ORCPT ); Fri, 7 May 2021 11:07:23 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id C3E6713DD; Fri, 7 May 2021 11:06:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 07 May 2021 11:06:23 -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=fm2; bh=5M+6fjInAXB3Y CU5vKSsEobsfbDpPN/+AxgvhrArl1U=; b=qT5A7zdh+C42xlGNDDr6o99h0fb5b pzvQTQQP4Sir2T6X5ft3+K5trWDwcAz2AWSPIfMCH7T0G413sXpeiXzb7BttWXtR wIhvmPhzsrTWkbW0+m+aYnWBlxispfjNuEwcBpWAeTBdSGdxi0PDsUjZKePRIK7X mn3p8PsfOIP0RLRHZ5gPeZPuuhU2xO8/YXvaXqX4xFlcYdjWnp91bkzXQjT7mjzw be06spsmR61oyyuLOUnfXaE31RhHUoGGpVehsLX8lq06J+0z1Mqq/zgo5i2CJzHz LEPsriFAgcWslCop4cZxWArxr5YpR5MgqQ8ImuOw+g6b4Lm1xedciZ2FA== 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=5M+6fjInAXB3YCU5vKSsEobsfbDpPN/+AxgvhrArl1U=; b=gIu9stUe CyJfcEat9sSny+MBFfkVqK7ZdiMK7buvPuDsbWMyLrk5WKfOaT2RHsT2IiWZSKk5 NsznZcBoFNuSSn38wzeT2zzetXAfLAUITPkWNuNSVjIpWwgaXVOKxWUajOsglx8u DyYCXkkjiIzomy1m363/kP7YCkl5YIHajEZNj23HVkGraYxh+EKyzsiD+tBuj41c SahjNVeOB1DbFyuOrae82FpIDXdq0UN48pzd6mUDooCrQv1XYUlaea9Ce4sq43Xq kDOi6RtX689qVYJg21oDv+k2P+KPosgkWaStOshKrWTq0bE3dNBXDYt9wL8pYeJP 4iVaFZdu0VKogg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdegvddgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgepvdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh 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; Fri, 7 May 2021 11:06:21 -0400 (EDT) From: Maxime Ripard To: Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , dri-devel@lists.freedesktop.org, Daniel Vetter , David Airlie Cc: Eric Anholt , Nicolas Saenz Julienne , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Dave Stevenson , Phil Elwell , Tim Gover , Dom Cobley , linux-kernel@vger.kernel.org Subject: [PATCH v4 12/12] drm/vc4: hdmi: Raise the maximum clock rate Date: Fri, 7 May 2021 17:05:15 +0200 Message-Id: <20210507150515.257424-13-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210507150515.257424-1-maxime@cerno.tech> References: <20210507150515.257424-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 4fa7ea419594..0c64de5d60ec 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -2237,7 +2237,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