mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
linux (RPi): update patch to hide 4k modes
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
3a804b3b7e
commit
9635834760
@ -1,35 +1,21 @@
|
|||||||
From dafb32ca693b99d491406a151ca00c297d6b2b59 Mon Sep 17 00:00:00 2001
|
commit ff435e359364b968d14bb4c96b5698712d9cea90
|
||||||
From: popcornmix <popcornmix@gmail.com>
|
Author: Matthias Reichl <hias@horus.com>
|
||||||
Date: Mon, 16 Mar 2020 20:38:37 +0000
|
Date: Fri Dec 18 20:53:43 2020 +0100
|
||||||
Subject: [PATCH] vc4_hdmi: Reduce max pixel rate to hide 4k modes
|
|
||||||
|
|
||||||
vc4_hdmi: Increase pixel clock to 162MHz for 1920x1200@60
|
vc4_hdmi: Reduce max pixel rate to hide 4k modes
|
||||||
---
|
|
||||||
drivers/gpu/drm/vc4/vc4_hdmi.c | 4 ++--
|
162MHz limits to 1920x1200@60
|
||||||
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 83aaca83239fb..b9e26c3dc3fb1 100644
|
index 2386c7303a215..561d3fa3bb926 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
|
||||||
@@ -2378,7 +2378,7 @@ static const struct vc4_hdmi_variant bcm2711_hdmi0_variant = {
|
@@ -404,7 +404,7 @@ static void hdmi_codec_eld_chmap(struct vc4_hdmi *vc4_hdmi)
|
||||||
.encoder_type = VC4_ENCODER_TYPE_HDMI0,
|
vc4_hdmi->audio.chmap = hdmi_codec_stereo_chmaps;
|
||||||
.debugfs_name = "hdmi0_regs",
|
}
|
||||||
.card_name = "vc4-hdmi-0",
|
|
||||||
- .max_pixel_clock = 297000000,
|
-#define HDMI_14_MAX_TMDS_CLK (340 * 1000 * 1000)
|
||||||
+ .max_pixel_clock = 162000000,
|
+#define HDMI_14_MAX_TMDS_CLK (162 * 1000 * 1000)
|
||||||
.cec_input_clock = 27000000,
|
|
||||||
.registers = vc5_hdmi_hdmi0_fields,
|
static int vc4_hdmi_debugfs_regs(struct seq_file *m, void *unused)
|
||||||
.num_registers = ARRAY_SIZE(vc5_hdmi_hdmi0_fields),
|
{
|
||||||
@@ -2407,7 +2407,7 @@ static const struct vc4_hdmi_variant bcm2711_hdmi1_variant = {
|
|
||||||
.encoder_type = VC4_ENCODER_TYPE_HDMI1,
|
|
||||||
.debugfs_name = "hdmi1_regs",
|
|
||||||
.card_name = "vc4-hdmi-1",
|
|
||||||
- .max_pixel_clock = 297000000,
|
|
||||||
+ .max_pixel_clock = 162000000,
|
|
||||||
.cec_input_clock = 27000000,
|
|
||||||
.registers = vc5_hdmi_hdmi1_fields,
|
|
||||||
.num_registers = ARRAY_SIZE(vc5_hdmi_hdmi1_fields),
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user