29ce1abe3dd2fc88702d2deafee8932001277766
[openwrt/staging/jow.git] / target / linux / bcm27xx / patches-5.10 / 950-0576-drm-vc4-hdmi-Raise-the-maximum-clock-rate.patch
1 From 4950d441d18161b2432965ba3fc99382beafdf02 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Thu, 8 Oct 2020 16:08:06 +0200
4 Subject: [PATCH] drm/vc4: hdmi: Raise the maximum clock rate
5
6 Now that we have the infrastructure in place, we can raise the maximum
7 pixel rate we can reach for HDMI0 on the BCM2711.
8
9 HDMI1 is left untouched since its pixelvalve has a smaller FIFO and
10 would need a clock faster than what we can provide to support the same
11 modes.
12
13 Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
14 Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
15 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
16 ---
17 drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
21 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
22 @@ -2418,7 +2418,7 @@ static const struct vc4_hdmi_variant bcm
23 .encoder_type = VC4_ENCODER_TYPE_HDMI0,
24 .debugfs_name = "hdmi0_regs",
25 .card_name = "vc4-hdmi-0",
26 - .max_pixel_clock = 297000000,
27 + .max_pixel_clock = 600000000,
28 .registers = vc5_hdmi_hdmi0_fields,
29 .num_registers = ARRAY_SIZE(vc5_hdmi_hdmi0_fields),
30 .phy_lane_mapping = {