linux (RPi): update patch to hide 4k modes

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2020-09-07 11:52:12 +02:00
parent f9e39ebd9a
commit 02832883bf

View File

@ -1,4 +1,4 @@
From 11c0cfc8ed33cda1435fc9a9efd8476514054842 Mon Sep 17 00:00:00 2001 From dafb32ca693b99d491406a151ca00c297d6b2b59 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com> From: popcornmix <popcornmix@gmail.com>
Date: Mon, 16 Mar 2020 20:38:37 +0000 Date: Mon, 16 Mar 2020 20:38:37 +0000
Subject: [PATCH] vc4_hdmi: Reduce max pixel rate to hide 4k modes Subject: [PATCH] vc4_hdmi: Reduce max pixel rate to hide 4k modes
@ -9,22 +9,22 @@ vc4_hdmi: Increase pixel clock to 162MHz for 1920x1200@60
1 file changed, 2 insertions(+), 2 deletions(-) 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c
index 219964ff2f0e7..31d7565d2d904 100644 index 83aaca83239fb..b9e26c3dc3fb1 100644
--- a/drivers/gpu/drm/vc4/vc4_hdmi.c --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
@@ -2322,7 +2322,7 @@ static const struct vc4_hdmi_variant bcm2835_variant = { @@ -2378,7 +2378,7 @@ static const struct vc4_hdmi_variant bcm2711_hdmi0_variant = {
static const struct vc4_hdmi_variant bcm2711_hdmi0_variant = { .encoder_type = VC4_ENCODER_TYPE_HDMI0,
.id = 0, .debugfs_name = "hdmi0_regs",
.audio_available = true, .card_name = "vc4-hdmi-0",
- .max_pixel_clock = 297000000, - .max_pixel_clock = 297000000,
+ .max_pixel_clock = 162000000, + .max_pixel_clock = 162000000,
.cec_input_clock = 27000000, .cec_input_clock = 27000000,
.registers = vc5_hdmi_hdmi0_fields, .registers = vc5_hdmi_hdmi0_fields,
.num_registers = ARRAY_SIZE(vc5_hdmi_hdmi0_fields), .num_registers = ARRAY_SIZE(vc5_hdmi_hdmi0_fields),
@@ -2350,7 +2350,7 @@ static const struct vc4_hdmi_variant bcm2711_hdmi0_variant = { @@ -2407,7 +2407,7 @@ static const struct vc4_hdmi_variant bcm2711_hdmi1_variant = {
static const struct vc4_hdmi_variant bcm2711_hdmi1_variant = { .encoder_type = VC4_ENCODER_TYPE_HDMI1,
.id = 1, .debugfs_name = "hdmi1_regs",
.audio_available = true, .card_name = "vc4-hdmi-1",
- .max_pixel_clock = 297000000, - .max_pixel_clock = 297000000,
+ .max_pixel_clock = 162000000, + .max_pixel_clock = 162000000,
.cec_input_clock = 27000000, .cec_input_clock = 27000000,