From e6bbc89f541452238df132e366afa554b74e1c10 Mon Sep 17 00:00:00 2001 From: Daeho Jeong Date: Wed, 25 May 2022 08:34:46 -0700 Subject: [PATCH 1/2] disable powerhint for F2FS gc_urgent mode Disable the powerhint for F2FS gc_urgent mode, since we are going to replace this with the smart idle maintenance service. Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent Bug: 214430685 Signed-off-by: Daeho Jeong Change-Id: I0798c082d668f904122c6a4af4634058dcbc777b --- powerhint_a0.json | 21 --------------------- powerhint_a1.json | 21 --------------------- 2 files changed, 42 deletions(-) diff --git a/powerhint_a0.json b/powerhint_a0.json index 47873678..76472db1 100644 --- a/powerhint_a0.json +++ b/powerhint_a0.json @@ -75,15 +75,6 @@ ], "ResetOnInit": true }, - { - "Name": "F2fsRecessModeEnable", - "Path": "/dev/sys/fs/by-name/userdata/gc_urgent", - "Values": [ - "2", - "0" - ], - "ResetOnInit": true - }, { "Name": "PowerHALRenderingState", "Path": "vendor.powerhal.rendering", @@ -184,12 +175,6 @@ "Duration": 200, "Value": "0" }, - { - "PowerHint": "DEVICE_IDLE", - "Node": "F2fsRecessModeEnable", - "Duration": 0, - "Value": "2" - }, { "PowerHint": "LAUNCH", "Type": "EndHint", @@ -231,12 +216,6 @@ "Duration": 5000, "Value": "0" }, - { - "PowerHint": "DISPLAY_INACTIVE", - "Node": "F2fsRecessModeEnable", - "Duration": 0, - "Value": "2" - }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUBigClusterMaxFreq", diff --git a/powerhint_a1.json b/powerhint_a1.json index 81b4b659..7a980ba5 100644 --- a/powerhint_a1.json +++ b/powerhint_a1.json @@ -95,15 +95,6 @@ ], "ResetOnInit": true }, - { - "Name": "F2fsRecessModeEnable", - "Path": "/dev/sys/fs/by-name/userdata/gc_urgent", - "Values": [ - "2", - "0" - ], - "ResetOnInit": true - }, { "Name": "LimitFlashCurrent", "Path": "vendor.camera.max_flash_current", @@ -214,12 +205,6 @@ "Duration": 200, "Value": "0" }, - { - "PowerHint": "DEVICE_IDLE", - "Node": "F2fsRecessModeEnable", - "Duration": 0, - "Value": "2" - }, { "PowerHint": "LAUNCH", "Type": "EndHint", @@ -261,12 +246,6 @@ "Duration": 5000, "Value": "0" }, - { - "PowerHint": "DISPLAY_INACTIVE", - "Node": "F2fsRecessModeEnable", - "Duration": 0, - "Value": "2" - }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUBigClusterMaxFreq", From 53eef4db82f6f1d75d7b748239193cc149593d42 Mon Sep 17 00:00:00 2001 From: wenchangliu Date: Tue, 3 May 2022 08:46:21 +0000 Subject: [PATCH 2/2] update performance-point for media performance class 13 Support 6 instances of hardware video encoder/decoder sessions (AVC, HEVC, VP9 or AV1) in any codec combination running concurrently at 1080p resolution@30fps. Bug: 233775011 Test: CtsMediaPerformanceClassTestCases Test: CtsMediaEncoderTestCases Test: android.media.misc.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints Change-Id: I0f260d83164cb8b4944a4a603408400c0c3a7184 --- media_codecs_aosp_c2.xml | 22 +++++++++++----------- media_codecs_bo_c2.xml | 6 ++---- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/media_codecs_aosp_c2.xml b/media_codecs_aosp_c2.xml index 62b47070..85096ee4 100644 --- a/media_codecs_aosp_c2.xml +++ b/media_codecs_aosp_c2.xml @@ -26,7 +26,7 @@ - + @@ -39,7 +39,7 @@ - + @@ -53,7 +53,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -105,7 +105,7 @@ - + @@ -118,7 +118,7 @@ - + @@ -131,7 +131,7 @@ - + @@ -148,7 +148,7 @@ - + @@ -162,7 +162,7 @@ - + @@ -203,7 +203,7 @@ - + @@ -217,7 +217,7 @@ - + diff --git a/media_codecs_bo_c2.xml b/media_codecs_bo_c2.xml index 22ad88e2..fb54359e 100644 --- a/media_codecs_bo_c2.xml +++ b/media_codecs_bo_c2.xml @@ -25,8 +25,7 @@ - - + @@ -40,8 +39,7 @@ - - +