diff --git a/husky/BoardConfig.mk b/husky/BoardConfig.mk index 67abdd2..1f17006 100644 --- a/husky/BoardConfig.mk +++ b/husky/BoardConfig.mk @@ -20,6 +20,7 @@ BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true # The modules which need to be loaded in sequential BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 BOARD_KERNEL_CMDLINE += g2d.load_sequential=1 +BOARD_KERNEL_CMDLINE += samsung_iommu_v9.load_sequential=1 TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := husky diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index 45053cd..0af507d 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -298,9 +298,10 @@ "Name": "CDPreferIdle", "Path": "/proc/vendor_sched/cam_prefer_idle", "Values": [ - "0", - "1" + "1", + "0" ], + "DefaultIndex": 0, "ResetOnInit": true }, { @@ -652,6 +653,7 @@ "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ + "100", "70", "42", "35", @@ -683,6 +685,7 @@ "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ + "100", "50", "30", "20", @@ -712,6 +715,7 @@ "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Values": [ + "100", "50", "22", "20" @@ -1194,6 +1198,30 @@ "Duration": 1000, "Value": "664000" }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "CDPreferIdle", + "Duration": 100, + "Value": "1" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_LIT_SPC_THRESHOLD", + "Duration": 100, + "Value": "100" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_MID_SPC_THRESHOLD", + "Duration": 100, + "Value": "100" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_BIG_SPC_THRESHOLD", + "Duration": 100, + "Value": "100" + }, { "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1", "Node": "TAPreferHighCap", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index c6ed23b..9631195 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -281,9 +281,10 @@ "Name": "CDPreferIdle", "Path": "/proc/vendor_sched/cam_prefer_idle", "Values": [ - "0", - "1" + "1", + "0" ], + "DefaultIndex": 0, "ResetOnInit": true }, { @@ -635,6 +636,7 @@ "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ + "100", "70", "42", "35", @@ -666,6 +668,7 @@ "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ + "100", "50", "30", "20", @@ -695,6 +698,7 @@ "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Values": [ + "100", "50", "22", "20" @@ -1131,6 +1135,30 @@ "Duration": 1000, "Value": "664000" }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "CDPreferIdle", + "Duration": 100, + "Value": "1" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_LIT_SPC_THRESHOLD", + "Duration": 100, + "Value": "100" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_MID_SPC_THRESHOLD", + "Duration": 100, + "Value": "100" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_BIG_SPC_THRESHOLD", + "Duration": 100, + "Value": "100" + }, { "PowerHint": "GCA_CAMERA_SHOT_BIGCPU", "Node": "TAPreferHighCap", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index 51beaab..a0de305 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -288,9 +288,10 @@ "Name": "CDPreferIdle", "Path": "/proc/vendor_sched/cam_prefer_idle", "Values": [ - "0", - "1" + "1", + "0" ], + "DefaultIndex": 0, "ResetOnInit": true }, { @@ -652,6 +653,7 @@ "Name": "PMU_LIT_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ + "100", "70", "42", "35", @@ -683,6 +685,7 @@ "Name": "PMU_MID_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ + "100", "50", "30", "20", @@ -712,6 +715,7 @@ "Name": "PMU_BIG_SPC_THRESHOLD", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Values": [ + "100", "50", "22", "20" @@ -1194,6 +1198,30 @@ "Duration": 1000, "Value": "664000" }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "CDPreferIdle", + "Duration": 100, + "Value": "1" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_LIT_SPC_THRESHOLD", + "Duration": 100, + "Value": "100" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_MID_SPC_THRESHOLD", + "Duration": 100, + "Value": "100" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_BIG_SPC_THRESHOLD", + "Duration": 100, + "Value": "100" + }, { "PowerHint": "GCA_CAMERA_SHOT_BIGCPU", "Node": "TAPreferHighCap", diff --git a/shiba/BoardConfig.mk b/shiba/BoardConfig.mk index ebb47b9..1fe7b27 100644 --- a/shiba/BoardConfig.mk +++ b/shiba/BoardConfig.mk @@ -20,6 +20,7 @@ BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true # The modules which need to be loaded in sequential BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 BOARD_KERNEL_CMDLINE += g2d.load_sequential=1 +BOARD_KERNEL_CMDLINE += samsung_iommu_v9.load_sequential=1 TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := shiba