mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Includes: - drop local rtlwifi patches - Amlogic: disable lock debugging - Amlogic: disable some ARMv8 features not present in Amlogic SoCs Amlogic 64-bit SoC have only ARMv8.1 cores and do not support later rev features. Disable them to save a few KBs from kernel size. - Amlogic: disable unused errata Disable errata for cores not present in Amlogic's SoCs. - Amlogic: set THP to madvise - Amlogic: enable PSCI CPUIdle driver With additional entries in device tree, this can save approximately 30-40mW when idling. - Amlogic: set preemption to voluntary Aligns Amlogic with (most) other LE projects. - Amlogic: increase Linux kernel tick-rate to 300Hz Aligns Amlogic with (most) other projects. - Amlogic: disable SCHED_SMT Amlogic SoCs do not have hyperthreading, disable it to save some space - Amlogic: adjust kernel config for Docker Kernel config adjusted with tools/check_kernel_config script - enable kernel options IP_SET and NETFILTER_XT_SET - enable kernel based RTW88_8821AU and RTW88_8812AU - drop now upstream 6.14 lzma patch - enable kernel options CONFIG_IP_NF_RAW and CONFIG_IP6_NF_RAW Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
63 lines
1.7 KiB
Diff
63 lines
1.7 KiB
Diff
From 71facc1a41966252fd3368b8a6cfc02d3e91d85a Mon Sep 17 00:00:00 2001
|
|
From: Dongjin Kim <tobetter@gmail.com>
|
|
Date: Thu, 10 Sep 2020 11:01:33 +0900
|
|
Subject: [PATCH 23/37] WIP: drm/meson: add support for 2560x1440 resolution
|
|
output
|
|
|
|
Add support for Quad HD (QHD) 2560x1440 resolution output. Timings
|
|
have been adapted from the vendor kernel.
|
|
|
|
Signed-off-by: Joy Cho <joy.cho@hardkernel.com>
|
|
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
drivers/gpu/drm/meson/meson_vclk.c | 18 ++++++++++++++++++
|
|
1 file changed, 18 insertions(+)
|
|
|
|
diff --git a/drivers/gpu/drm/meson/meson_vclk.c b/drivers/gpu/drm/meson/meson_vclk.c
|
|
index dfe0c28a0f05..f5385b3e3796 100644
|
|
--- a/drivers/gpu/drm/meson/meson_vclk.c
|
|
+++ b/drivers/gpu/drm/meson/meson_vclk.c
|
|
@@ -357,6 +357,8 @@ enum {
|
|
MESON_VCLK_HDMI_594000,
|
|
/* 2970 /1 /1 /1 /5 /1 => /1 /2 */
|
|
MESON_VCLK_HDMI_594000_YUV420,
|
|
+/* 4830 /2 /1 /2 /5 /1 => /1 /1 */
|
|
+ MESON_VCLK_HDMI_241500,
|
|
};
|
|
|
|
struct meson_vclk_params {
|
|
@@ -467,6 +469,18 @@ struct meson_vclk_params {
|
|
.vid_pll_div = VID_PLL_DIV_5,
|
|
.vclk_div = 1,
|
|
},
|
|
+ [MESON_VCLK_HDMI_241500] = {
|
|
+ .pll_freq = 4830000000,
|
|
+ .phy_freq = 2415000000,
|
|
+ .venc_freq = 241500000,
|
|
+ .vclk_freq = 241500000,
|
|
+ .pixel_freq = 241500000,
|
|
+ .pll_od1 = 2,
|
|
+ .pll_od2 = 1,
|
|
+ .pll_od3 = 2,
|
|
+ .vid_pll_div = VID_PLL_DIV_5,
|
|
+ .vclk_div = 1,
|
|
+ },
|
|
{ /* sentinel */ },
|
|
};
|
|
|
|
@@ -894,6 +908,10 @@ static void meson_vclk_set(struct meson_drm *priv,
|
|
m = 0xf7;
|
|
frac = vic_alternate_clock ? 0x8148 : 0x10000;
|
|
break;
|
|
+ case 4830000:
|
|
+ m = 0xc9;
|
|
+ frac = 0xd560;
|
|
+ break;
|
|
}
|
|
|
|
meson_hdmi_pll_set_params(priv, m, frac, od1, od2, od3);
|
|
--
|
|
2.34.1
|
|
|