From 2e83b04a10be95d45c6996a8ed000cc328d76f10 Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Mon, 26 Aug 2024 09:10:27 +0000 Subject: [PATCH 1/3] Set priority task name Set task name and boost value for ExoPlayer:Place thread. Bug: 357956265 Test: build pass Flag: NONE init rc file change does not support flags Change-Id: I09e79a16b7b6a0675de606b2f65dfbee154ec943 --- conf/init.zumapro.soc.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/init.zumapro.soc.rc b/conf/init.zumapro.soc.rc index ef3dbab..c424f4c 100644 --- a/conf/init.zumapro.soc.rc +++ b/conf/init.zumapro.soc.rc @@ -215,6 +215,10 @@ on property:sys.boot_completed=1 write /sys/devices/system/cpu/cpufreq/policy7/sched_pixel/pmu_limit_enable 1 write /proc/vendor_sched/pmu_poll_enable 0 + # Set priority task name and boost value + write /proc/vendor_sched/priority_task_name "ExoPlayer:Place" + write /proc/vendor_sched/priority_task_boost_value 742 + # MTE on property:persist.device_config.runtime_native_boot.mode_override=sync # Per-core mode overrides. From 5fcf70543494c4b0d498d3bb568eb1e1d560e1e1 Mon Sep 17 00:00:00 2001 From: Wen Chang Liu Date: Sat, 14 Sep 2024 06:10:51 +0000 Subject: [PATCH 2/3] Support FEATURE_DynamicColorAspect for MPC15 [5.1/H-1-21] MUST support FEATURE_DynamicColorAspect for all hardware video decoders (AVC, HEVC, VP9, AV1, or later). Bug: 343864145 Flag: EXEMPT resource only update Test: run cts -m CtsMediaPerformanceClassTestCases -- --module-arg \ CtsMediaPerformanceClassTestCases:instrumentation-arg:media-performance-class:=35 Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.DecoderDynamicColorAspectTest Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.AdaptivePlaybackTest Change-Id: I97c2e683f2290a91e40be77f595b1043c548db6d --- media_codecs_aosp_c2.xml | 6 ++++++ media_codecs_bo_c2.xml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/media_codecs_aosp_c2.xml b/media_codecs_aosp_c2.xml index ab61ca9..a69ba56 100644 --- a/media_codecs_aosp_c2.xml +++ b/media_codecs_aosp_c2.xml @@ -33,6 +33,7 @@ + @@ -48,6 +49,7 @@ + @@ -63,6 +65,7 @@ + @@ -78,6 +81,7 @@ + @@ -134,6 +138,7 @@ + @@ -149,6 +154,7 @@ + diff --git a/media_codecs_bo_c2.xml b/media_codecs_bo_c2.xml index 06e0447..ccaea74 100644 --- a/media_codecs_bo_c2.xml +++ b/media_codecs_bo_c2.xml @@ -31,6 +31,7 @@ + @@ -47,6 +48,7 @@ + From 7c7154dd1c4778275a59b8182ea8523e7a7df464 Mon Sep 17 00:00:00 2001 From: Wen Chang Liu Date: Sat, 14 Sep 2024 06:29:02 +0000 Subject: [PATCH 3/3] Support FEATURE_HlgEditing for MPC15 [5.1/H-1-20] MUST support the Feature_HdrEditing feature for all hardware AV1 and HEVC encoders present on the device at 4K resolution or the largest Camera-supported resolution, whichever is less. Bug: 343146210 Bug: 343864145 Flag: EXEMPT resource only update Test: run cts -m CtsMediaPerformanceClassTestCases -- --module-arg \ CtsMediaPerformanceClassTestCases:instrumentation-arg:media-performance-class:=35 Change-Id: I362b9b8cc349f58869aa51322d35930e29a8d2b8 --- media_codecs_aosp_c2.xml | 1 + media_codecs_bo_c2.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/media_codecs_aosp_c2.xml b/media_codecs_aosp_c2.xml index a69ba56..5a39a44 100644 --- a/media_codecs_aosp_c2.xml +++ b/media_codecs_aosp_c2.xml @@ -194,6 +194,7 @@ + diff --git a/media_codecs_bo_c2.xml b/media_codecs_bo_c2.xml index ccaea74..68c5650 100644 --- a/media_codecs_bo_c2.xml +++ b/media_codecs_bo_c2.xml @@ -68,6 +68,7 @@ +