Files
LibreELEC.tv/projects/Amlogic/devices/AMLGX/patches/linux/amlogic-0001-LOCAL-set-meson-gx-cma-pool-to-896MB.patch
Christian Hewitt 8314e2506f linux: update Amlogic to Linux 6.16.y kernel and patches
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>
2025-07-21 08:23:36 +00:00

29 lines
943 B
Diff

From 9a711d3aca9f7bd053caefec4f1bef07ba1a4817 Mon Sep 17 00:00:00 2001
From: Christian Hewitt <christianshewitt@gmail.com>
Date: Sat, 13 Apr 2019 05:41:51 +0000
Subject: [PATCH 01/37] LOCAL: set meson-gx cma pool to 896MB
This change sets the CMA pool to a larger 896MB! value for vdec use
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
index 7d99ca44e660..eebd4a4d388c 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -58,7 +58,7 @@ secmon_reserved_bl32: secmon@5300000 {
linux,cma {
compatible = "shared-dma-pool";
reusable;
- size = <0x0 0x10000000>;
+ size = <0x0 0x38000000>;
alignment = <0x0 0x400000>;
linux,cma-default;
};
--
2.34.1