Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion KernelSU-Next
Submodule KernelSU-Next deleted from 1d2581
2 changes: 1 addition & 1 deletion apollo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ CR_DTB=$CR_DIR/arch/$CR_ARCH/boot/dtb.img
# defconfig dir
CR_DEFCONFIG=$CR_DIR/arch/$CR_ARCH/configs
# Kernel Name and Version
CR_VERSION=V1.10
CR_VERSION=V1.11
CR_NAME=DS-ACK
# Thread count
CR_JOBS=$(nproc --all)
Expand Down
21 changes: 7 additions & 14 deletions arch/arm64/boot/dts/exynos/exynos9810-crownlte_eur_open_26.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5272,22 +5272,15 @@
g3d_genpd_name = "pd-embedded_g3d";
#cooling-cells = <0x2>;
governor = "interactive";
interactive_info = <598000 0x32 0x0>;
gpu_dvfs_table_size = <8 7>; /*<row col>*/
gpu_dvfs_table = < 598000 78 100 5 1794000 1950000 0
572000 78 99 1 1794000 1950000 0
546000 78 95 1 1794000 1794000 0
455000 78 85 1 1794000 1794000 0
385000 78 85 1 1794000 1794000 0
338000 78 85 1 1794000 1248000 0
299000 78 85 1 1794000 0 0
260000 78 85 1 1794000 0 0 >;
interactive_info = <0x52850 0x5e 0x0>;
gpu_dvfs_table_size = <0x6 0x7>;
gpu_dvfs_table = <0x8ba60 0x4e 0x64 0x5 0x1b5fd0 0x1dc130 0x0 0x854d0 0x4e 0x63 0x1 0x1b5fd0 0x1dc130 0x0 0x6f158 0x4e 0x55 0x1 0x177bb8 0x1b5fd0 0x0 0x52850 0x4e 0x55 0x1 0x14a140 0x130b00 0x0 0x48ff8 0x4e 0x55 0x1 0xf78f0 0x0 0x0 0x3f7a0 0x4e 0x55 0x1 0xa50a0 0x0 0x0>;
gpu_sustainable_info = <0x0 0x0 0x0 0x0 0x0>;
gpu_pmqos_cpu_cluster_num = <0x2>;
gpu_pmu_status_reg_offset = <0x4044>;
gpu_pmu_status_local_pwr_mask = <0xf>;
gpu_max_clock = <598000>;
gpu_max_clock_limit = <598000>;
gpu_max_clock = <0x8ba60>;
gpu_max_clock_limit = <0x8ba60>;
gpu_min_clock = <0x3f7a0>;
gpu_dvfs_start_clock = <0x3f7a0>;
gpu_dvfs_bl_config_clock = <0x3f7a0>;
Expand All @@ -5296,7 +5289,7 @@
gpu_voltage_offset_margin = <0x927c>;
gpu_tmu_control = <0x1>;
gpu_temp_throttling_level_num = <0x6>;
gpu_temp_throttling = <598000 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_temp_throttling = <0x8ba60 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_power_coeff = <0x271>;
gpu_dvfs_time_interval = <0x5>;
gpu_default_wakeup_lock = <0x1>;
Expand All @@ -5309,7 +5302,7 @@
gpu_dvfs_polling_time = <0x1e>;
gpu_pmqos_int_disable = <0x1>;
gpu_pmqos_mif_max_clock = <0x1b5fd0>;
gpu_pmqos_mif_max_clock_base = <598000>;
gpu_pmqos_mif_max_clock_base = <0x8ba60>;
gpu_cl_dvfs_start_base = <0x6f158>;
gpu_debug_level = <0x3>;
gpu_trace_level = <0x8>;
Expand Down
21 changes: 7 additions & 14 deletions arch/arm64/boot/dts/exynos/exynos9810-crownlte_kor_26.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5340,22 +5340,15 @@
g3d_genpd_name = "pd-embedded_g3d";
#cooling-cells = <0x2>;
governor = "interactive";
interactive_info = <598000 0x32 0x0>;
gpu_dvfs_table_size = <8 7>; /*<row col>*/
gpu_dvfs_table = < 598000 78 100 5 1794000 1950000 0
572000 78 99 1 1794000 1950000 0
546000 78 95 1 1794000 1794000 0
455000 78 85 1 1794000 1794000 0
385000 78 85 1 1794000 1794000 0
338000 78 85 1 1794000 1248000 0
299000 78 85 1 1794000 0 0
260000 78 85 1 1794000 0 0 >;
interactive_info = <0x52850 0x5e 0x0>;
gpu_dvfs_table_size = <0x6 0x7>;
gpu_dvfs_table = <0x8ba60 0x4e 0x64 0x5 0x1b5fd0 0x1dc130 0x0 0x854d0 0x4e 0x63 0x1 0x1b5fd0 0x1dc130 0x0 0x6f158 0x4e 0x55 0x1 0x177bb8 0x1b5fd0 0x0 0x52850 0x4e 0x55 0x1 0x14a140 0x130b00 0x0 0x48ff8 0x4e 0x55 0x1 0xf78f0 0x0 0x0 0x3f7a0 0x4e 0x55 0x1 0xa50a0 0x0 0x0>;
gpu_sustainable_info = <0x0 0x0 0x0 0x0 0x0>;
gpu_pmqos_cpu_cluster_num = <0x2>;
gpu_pmu_status_reg_offset = <0x4044>;
gpu_pmu_status_local_pwr_mask = <0xf>;
gpu_max_clock = <598000>;
gpu_max_clock_limit = <598000>;
gpu_max_clock = <0x8ba60>;
gpu_max_clock_limit = <0x8ba60>;
gpu_min_clock = <0x3f7a0>;
gpu_dvfs_start_clock = <0x3f7a0>;
gpu_dvfs_bl_config_clock = <0x3f7a0>;
Expand All @@ -5364,7 +5357,7 @@
gpu_voltage_offset_margin = <0x927c>;
gpu_tmu_control = <0x1>;
gpu_temp_throttling_level_num = <0x6>;
gpu_temp_throttling = <598000 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_temp_throttling = <0x8ba60 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_power_coeff = <0x271>;
gpu_dvfs_time_interval = <0x5>;
gpu_default_wakeup_lock = <0x1>;
Expand All @@ -5377,7 +5370,7 @@
gpu_dvfs_polling_time = <0x1e>;
gpu_pmqos_int_disable = <0x1>;
gpu_pmqos_mif_max_clock = <0x1b5fd0>;
gpu_pmqos_mif_max_clock_base = <598000>;
gpu_pmqos_mif_max_clock_base = <0x8ba60>;
gpu_cl_dvfs_start_base = <0x6f158>;
gpu_debug_level = <0x3>;
gpu_trace_level = <0x8>;
Expand Down
21 changes: 7 additions & 14 deletions arch/arm64/boot/dts/exynos/exynos9810-star2lte_eur_open_26.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5275,22 +5275,15 @@
g3d_genpd_name = "pd-embedded_g3d";
#cooling-cells = <0x2>;
governor = "interactive";
interactive_info = <598000 0x32 0x0>;
gpu_dvfs_table_size = <8 7>; /*<row col>*/
gpu_dvfs_table = < 598000 78 100 5 1794000 1950000 0
572000 78 99 1 1794000 1950000 0
546000 78 95 1 1794000 1794000 0
455000 78 85 1 1794000 1794000 0
385000 78 85 1 1794000 1794000 0
338000 78 85 1 1794000 1248000 0
299000 78 85 1 1794000 0 0
260000 78 85 1 1794000 0 0 >;
interactive_info = <0x52850 0x5e 0x0>;
gpu_dvfs_table_size = <0x6 0x7>;
gpu_dvfs_table = <0x8ba60 0x4e 0x64 0x5 0x1b5fd0 0x1dc130 0x0 0x854d0 0x4e 0x63 0x1 0x1b5fd0 0x1dc130 0x0 0x6f158 0x4e 0x55 0x1 0x177bb8 0x1b5fd0 0x0 0x52850 0x4e 0x55 0x1 0x14a140 0x130b00 0x0 0x48ff8 0x4e 0x55 0x1 0xf78f0 0x0 0x0 0x3f7a0 0x4e 0x55 0x1 0xa50a0 0x0 0x0>;
gpu_sustainable_info = <0x0 0x0 0x0 0x0 0x0>;
gpu_pmqos_cpu_cluster_num = <0x2>;
gpu_pmu_status_reg_offset = <0x4044>;
gpu_pmu_status_local_pwr_mask = <0xf>;
gpu_max_clock = <598000>;
gpu_max_clock_limit = <598000>;
gpu_max_clock = <0x8ba60>;
gpu_max_clock_limit = <0x8ba60>;
gpu_min_clock = <0x3f7a0>;
gpu_dvfs_start_clock = <0x3f7a0>;
gpu_dvfs_bl_config_clock = <0x3f7a0>;
Expand All @@ -5299,7 +5292,7 @@
gpu_voltage_offset_margin = <0x927c>;
gpu_tmu_control = <0x1>;
gpu_temp_throttling_level_num = <0x6>;
gpu_temp_throttling = <598000 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_temp_throttling = <0x8ba60 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_power_coeff = <0x271>;
gpu_dvfs_time_interval = <0x5>;
gpu_default_wakeup_lock = <0x1>;
Expand All @@ -5312,7 +5305,7 @@
gpu_dvfs_polling_time = <0x1e>;
gpu_pmqos_int_disable = <0x1>;
gpu_pmqos_mif_max_clock = <0x1b5fd0>;
gpu_pmqos_mif_max_clock_base = <598000>;
gpu_pmqos_mif_max_clock_base = <0x8ba60>;
gpu_cl_dvfs_start_base = <0x6f158>;
gpu_debug_level = <0x3>;
gpu_trace_level = <0x8>;
Expand Down
21 changes: 7 additions & 14 deletions arch/arm64/boot/dts/exynos/exynos9810-star2lte_kor_26.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5325,22 +5325,15 @@
g3d_genpd_name = "pd-embedded_g3d";
#cooling-cells = <0x2>;
governor = "interactive";
interactive_info = <598000 0x32 0x0>;
gpu_dvfs_table_size = <8 7>; /*<row col>*/
gpu_dvfs_table = < 598000 78 100 5 1794000 1950000 0
572000 78 99 1 1794000 1950000 0
546000 78 95 1 1794000 1794000 0
455000 78 85 1 1794000 1794000 0
385000 78 85 1 1794000 1794000 0
338000 78 85 1 1794000 1248000 0
299000 78 85 1 1794000 0 0
260000 78 85 1 1794000 0 0 >;
interactive_info = <0x52850 0x5e 0x0>;
gpu_dvfs_table_size = <0x6 0x7>;
gpu_dvfs_table = <0x8ba60 0x4e 0x64 0x5 0x1b5fd0 0x1dc130 0x0 0x854d0 0x4e 0x63 0x1 0x1b5fd0 0x1dc130 0x0 0x6f158 0x4e 0x55 0x1 0x177bb8 0x1b5fd0 0x0 0x52850 0x4e 0x55 0x1 0x14a140 0x130b00 0x0 0x48ff8 0x4e 0x55 0x1 0xf78f0 0x0 0x0 0x3f7a0 0x4e 0x55 0x1 0xa50a0 0x0 0x0>;
gpu_sustainable_info = <0x0 0x0 0x0 0x0 0x0>;
gpu_pmqos_cpu_cluster_num = <0x2>;
gpu_pmu_status_reg_offset = <0x4044>;
gpu_pmu_status_local_pwr_mask = <0xf>;
gpu_max_clock = <598000>;
gpu_max_clock_limit = <598000>;
gpu_max_clock = <0x8ba60>;
gpu_max_clock_limit = <0x8ba60>;
gpu_min_clock = <0x3f7a0>;
gpu_dvfs_start_clock = <0x3f7a0>;
gpu_dvfs_bl_config_clock = <0x3f7a0>;
Expand All @@ -5349,7 +5342,7 @@
gpu_voltage_offset_margin = <0x927c>;
gpu_tmu_control = <0x1>;
gpu_temp_throttling_level_num = <0x6>;
gpu_temp_throttling = <598000 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_temp_throttling = <0x8ba60 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_power_coeff = <0x271>;
gpu_dvfs_time_interval = <0x5>;
gpu_default_wakeup_lock = <0x1>;
Expand All @@ -5362,7 +5355,7 @@
gpu_dvfs_polling_time = <0x1e>;
gpu_pmqos_int_disable = <0x1>;
gpu_pmqos_mif_max_clock = <0x1b5fd0>;
gpu_pmqos_mif_max_clock_base = <598000>;
gpu_pmqos_mif_max_clock_base = <0x8ba60>;
gpu_cl_dvfs_start_base = <0x6f158>;
gpu_debug_level = <0x3>;
gpu_trace_level = <0x8>;
Expand Down
21 changes: 7 additions & 14 deletions arch/arm64/boot/dts/exynos/exynos9810-starlte_eur_open_26.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5345,22 +5345,15 @@
g3d_genpd_name = "pd-embedded_g3d";
#cooling-cells = <0x2>;
governor = "interactive";
interactive_info = <598000 0x32 0x0>;
gpu_dvfs_table_size = <8 7>; /*<row col>*/
gpu_dvfs_table = < 598000 78 100 5 1794000 1950000 0
572000 78 99 1 1794000 1950000 0
546000 78 95 1 1794000 1794000 0
455000 78 85 1 1794000 1794000 0
385000 78 85 1 1794000 1794000 0
338000 78 85 1 1794000 1248000 0
299000 78 85 1 1794000 0 0
260000 78 85 1 1794000 0 0 >;
interactive_info = <0x52850 0x5e 0x0>;
gpu_dvfs_table_size = <0x6 0x7>;
gpu_dvfs_table = <0x8ba60 0x4e 0x64 0x5 0x1b5fd0 0x1dc130 0x0 0x854d0 0x4e 0x63 0x1 0x1b5fd0 0x1dc130 0x0 0x6f158 0x4e 0x55 0x1 0x177bb8 0x1b5fd0 0x0 0x52850 0x4e 0x55 0x1 0x14a140 0x130b00 0x0 0x48ff8 0x4e 0x55 0x1 0xf78f0 0x0 0x0 0x3f7a0 0x4e 0x55 0x1 0xa50a0 0x0 0x0>;
gpu_sustainable_info = <0x0 0x0 0x0 0x0 0x0>;
gpu_pmqos_cpu_cluster_num = <0x2>;
gpu_pmu_status_reg_offset = <0x4044>;
gpu_pmu_status_local_pwr_mask = <0xf>;
gpu_max_clock = <598000>;
gpu_max_clock_limit = <598000>;
gpu_max_clock = <0x8ba60>;
gpu_max_clock_limit = <0x8ba60>;
gpu_min_clock = <0x3f7a0>;
gpu_dvfs_start_clock = <0x3f7a0>;
gpu_dvfs_bl_config_clock = <0x3f7a0>;
Expand All @@ -5369,7 +5362,7 @@
gpu_voltage_offset_margin = <0x927c>;
gpu_tmu_control = <0x1>;
gpu_temp_throttling_level_num = <0x6>;
gpu_temp_throttling = <598000 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_temp_throttling = <0x8ba60 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_power_coeff = <0x271>;
gpu_dvfs_time_interval = <0x5>;
gpu_default_wakeup_lock = <0x1>;
Expand All @@ -5382,7 +5375,7 @@
gpu_dvfs_polling_time = <0x1e>;
gpu_pmqos_int_disable = <0x1>;
gpu_pmqos_mif_max_clock = <0x1b5fd0>;
gpu_pmqos_mif_max_clock_base = <598000>;
gpu_pmqos_mif_max_clock_base = <0x8ba60>;
gpu_cl_dvfs_start_base = <0x6f158>;
gpu_debug_level = <0x3>;
gpu_trace_level = <0x8>;
Expand Down
21 changes: 7 additions & 14 deletions arch/arm64/boot/dts/exynos/exynos9810-starlte_kor_26.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5398,22 +5398,15 @@
g3d_genpd_name = "pd-embedded_g3d";
#cooling-cells = <0x2>;
governor = "interactive";
interactive_info = <598000 0x32 0x0>;
gpu_dvfs_table_size = <8 7>; /*<row col>*/
gpu_dvfs_table = < 598000 78 100 5 1794000 1950000 0
572000 78 99 1 1794000 1950000 0
546000 78 95 1 1794000 1794000 0
455000 78 85 1 1794000 1794000 0
385000 78 85 1 1794000 1794000 0
338000 78 85 1 1794000 1248000 0
299000 78 85 1 1794000 0 0
260000 78 85 1 1794000 0 0 >;
interactive_info = <0x52850 0x5e 0x0>;
gpu_dvfs_table_size = <0x6 0x7>;
gpu_dvfs_table = <0x8ba60 0x4e 0x64 0x5 0x1b5fd0 0x1dc130 0x0 0x854d0 0x4e 0x63 0x1 0x1b5fd0 0x1dc130 0x0 0x6f158 0x4e 0x55 0x1 0x177bb8 0x1b5fd0 0x0 0x52850 0x4e 0x55 0x1 0x14a140 0x130b00 0x0 0x48ff8 0x4e 0x55 0x1 0xf78f0 0x0 0x0 0x3f7a0 0x4e 0x55 0x1 0xa50a0 0x0 0x0>;
gpu_sustainable_info = <0x0 0x0 0x0 0x0 0x0>;
gpu_pmqos_cpu_cluster_num = <0x2>;
gpu_pmu_status_reg_offset = <0x4044>;
gpu_pmu_status_local_pwr_mask = <0xf>;
gpu_max_clock = <598000>;
gpu_max_clock_limit = <598000>;
gpu_max_clock = <0x8ba60>;
gpu_max_clock_limit = <0x8ba60>;
gpu_min_clock = <0x3f7a0>;
gpu_dvfs_start_clock = <0x3f7a0>;
gpu_dvfs_bl_config_clock = <0x3f7a0>;
Expand All @@ -5422,7 +5415,7 @@
gpu_voltage_offset_margin = <0x927c>;
gpu_tmu_control = <0x1>;
gpu_temp_throttling_level_num = <0x6>;
gpu_temp_throttling = <598000 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_temp_throttling = <0x8ba60 0x854d0 0x6f158 0x52850 0x3f7a0 0x3f7a0>;
gpu_power_coeff = <0x271>;
gpu_dvfs_time_interval = <0x5>;
gpu_default_wakeup_lock = <0x1>;
Expand All @@ -5435,7 +5428,7 @@
gpu_dvfs_polling_time = <0x1e>;
gpu_pmqos_int_disable = <0x1>;
gpu_pmqos_mif_max_clock = <0x1b5fd0>;
gpu_pmqos_mif_max_clock_base = <598000>;
gpu_pmqos_mif_max_clock_base = <0x8ba60>;
gpu_cl_dvfs_start_base = <0x6f158>;
gpu_debug_level = <0x3>;
gpu_trace_level = <0x8>;
Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/configs/exynos9810_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6016,3 +6016,6 @@ CONFIG_OID_REGISTRY=y
CONFIG_SG_POOL=y
CONFIG_ARCH_HAS_SG_CHAIN=y
CONFIG_SBITMAP=y

CONFIG_EXTREMEROM_WORKAROUNDS=y
CONFIG_ONEUI7_WORKAROUND=y
2 changes: 2 additions & 0 deletions drivers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -248,4 +248,6 @@ source "drivers/security/samsung/tzic/Kconfig"

source "drivers/kernelsu/Kconfig"

source "drivers/extremerom/Kconfig"

endmenu
4 changes: 4 additions & 0 deletions drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,7 @@ obj-y += kperfmon/
obj-y += security/samsung/tzic/

obj-$(CONFIG_KSU) += kernelsu/

# Unconditionally include ExtremeROM code.Add commentMore actions
# The Makefile in it will decide what fixups we need.
obj-y += extremerom/
34 changes: 0 additions & 34 deletions drivers/cpufreq/exynos-acme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1133,23 +1133,6 @@ static __init int cpufreq_read_cpu_min_c2(char *cpu_min_c2)
}
__setup("cpu_min_c2=", cpufreq_read_cpu_min_c2);

unsigned long arg_gpu_min = 260000;

static __init int cpufreq_read_gpu_min(char *gpu_min)
{
unsigned long ui_khz;
int ret;

ret = kstrtoul(gpu_min, 0, &ui_khz);
if (ret)
return -EINVAL;

arg_gpu_min = ui_khz;
printk("gpu_min=%lu\n", arg_gpu_min);
return ret;
}
__setup("gpu_min=", cpufreq_read_gpu_min);

unsigned long arg_mif_min = 421000;

static __init int cpufreq_read_mif_min(char *mif_min)
Expand Down Expand Up @@ -1201,23 +1184,6 @@ static __init int cpufreq_read_cpu_max_c2(char *cpu_max_c2)
}
__setup("cpu_max_c2=", cpufreq_read_cpu_max_c2);

unsigned long arg_gpu_max = 598000;

static __init int cpufreq_read_gpu_max(char *gpu_max)
{
unsigned long ui_khz;
int ret;

ret = kstrtoul(gpu_max, 0, &ui_khz);
if (ret)
return -EINVAL;

arg_gpu_max = ui_khz;
printk("gpu_max=%lu\n", arg_gpu_max);
return ret;
}
__setup("gpu_max=", cpufreq_read_gpu_max);

unsigned long arg_mif_max = 1794000;

static __init int cpufreq_read_mif_max(char *mif_max)
Expand Down
12 changes: 12 additions & 0 deletions drivers/extremerom/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SPDX-License-Identifier: GPL-2.0

config EXTREMEROM_WORKAROUNDS
tristate "ExtremeROM workaround framework"
default n

config ONEUI7_WORKAROUND
depends on EXYNOS_DECON_LCD
tristate "Multiply brightness value by 100 for OneUI 7 ROM ports"
select EXTREMEROM_WORKAROUNDS
default n

6 changes: 6 additions & 0 deletions drivers/extremerom/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
# Makefile for ExtremeROM Fixups code

obj-$(CONFIG_EXTREMEROM_WORKAROUNDS) += bootmode.o
obj-$(CONFIG_ONEUI7_WORKAROUND) += fixups/brightness.o

Loading