From a528a2c7f9c7b13c791a9c9eae6c1b87ed015106 Mon Sep 17 00:00:00 2001 From: George Lee Date: Tue, 5 Mar 2024 00:36:35 +0000 Subject: [PATCH 1/4] bcl: Adjust GPU LIGHT clk divider ratio Set GPU LIGHT clk divider ratios to /2. Bug: 327700285 Test: Confirm no prints like: "28000000.mali: Ctx 8349_23 Group 0 CSG 3 CSI: 3" while running GFXBench under LIGHT MITIGATION Signed-off-by: George Lee (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:43d42739b57713f7e41df147e6372d1ccce6243f) Merged-In: I4b62b33c0b72e5a053f477943379727d58f7298e Change-Id: I4b62b33c0b72e5a053f477943379727d58f7298e --- conf/init.gs201.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index abc18c58..09898cbd 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -897,7 +897,7 @@ on property:vendor.brownout.mitigation.ready=1 write /sys/devices/virtual/pmic/mitigation/clock_ratio/tpu_light_clk_ratio 0x80041c3 #DFS write /sys/devices/virtual/pmic/mitigation/clock_ratio/cpu1_heavy_clk_ratio 0xfff041c0 #DFS write /sys/devices/virtual/pmic/mitigation/clock_ratio/cpu2_heavy_clk_ratio 0xfff041c0 #DFS - write /sys/devices/virtual/pmic/mitigation/clock_ratio/gpu_light_clk_ratio 0xfff041c1 #DFS + write /sys/devices/virtual/pmic/mitigation/clock_ratio/gpu_light_clk_ratio 0xfff041c3 #DFS write /sys/devices/virtual/pmic/mitigation/clock_ratio/cpu2_light_clk_ratio 0xfff041c3 #OCP write /sys/devices/virtual/pmic/mitigation/clock_ratio/gpu_heavy_clk_ratio 0xfff04385 #OCP write /sys/devices/virtual/pmic/mitigation/clock_ratio/tpu_heavy_clk_ratio 0xfff041c1 #OCP From 3954e3a89a32f1290981e51a26814a04784f216c Mon Sep 17 00:00:00 2001 From: Shashwat Razdan Date: Tue, 5 Mar 2024 20:06:04 -0800 Subject: [PATCH 2/4] Adding android.software.contextualsearch to gs-201 devices. Bug: 326143814 Test: Built and tested on device (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e9e4f853a6847a55f2bedc8fc37c17f44c1fa743) Merged-In: Iad8cd8a859299a5a60e0bdc569f7da4756bb95eb Change-Id: Iad8cd8a859299a5a60e0bdc569f7da4756bb95eb --- device.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/device.mk b/device.mk index 04585d5b..0aa5bd6c 100644 --- a/device.mk +++ b/device.mk @@ -259,6 +259,7 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \ frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \ frameworks/native/data/etc/android.software.vulkan.deqp.level-2023-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \ + frameworks/native/data/etc/android.software.contextualsearch.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.contextualsearch.xml \ frameworks/native/data/etc/android.software.opengles.deqp.level-2023-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml ifeq ($(USE_SWIFTSHADER),true) From 49634ee89567439488fcc2dac6bd9bca5d3f85d7 Mon Sep 17 00:00:00 2001 From: Daniel Chapin Date: Tue, 5 Mar 2024 00:55:40 +0000 Subject: [PATCH 3/4] Revert "Add betterbug mk to gs201" Revert submission 26348985-bb-sepolicy-poc Reason for revert: Droidfood blocking bug: b/327991669 Bug: b/327991669 Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3f5c12abada31befa0d9f869bf6628d06ee05aa4) Merged-In: Id77188dd9f6f5acaed1506a9489f5d6f9874dde9 Change-Id: Id77188dd9f6f5acaed1506a9489f5d6f9874dde9 --- device.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/device.mk b/device.mk index 0aa5bd6c..42b007a1 100644 --- a/device.mk +++ b/device.mk @@ -37,7 +37,6 @@ include device/google/gs-common/sota_app/factoryota.mk include device/google/gs-common/misc_writer/misc_writer.mk include device/google/gs-common/gyotaku_app/gyotaku.mk include device/google/gs-common/bootctrl/bootctrl_aidl.mk -include device/google/gs-common/betterbug/betterbug.mk ifneq ($(filter cheetah felix panther, $(TARGET_PRODUCT)),) include device/google/gs-common/bcmbt/dump/dumplog.mk endif From 32333e15c9a2bf1b61636cef3c11743af628472b Mon Sep 17 00:00:00 2001 From: Vinay Kalia Date: Fri, 8 Mar 2024 20:30:40 +0000 Subject: [PATCH 4/4] gs201: bigocean: Enable width-height swap bug: 328331219 Test: android.mediav2.cts.CodecInfoTest#testResolutionSupport [29_video/av01_c2.google.av1.decoder] Signed-off-by: Vinay Kalia (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dbec97c34f276661a30dad532fd08114bb219b54) Merged-In: Ib57dbaf32c2198e755e123cd894514bce5fb212e Change-Id: Ib57dbaf32c2198e755e123cd894514bce5fb212e --- media_codecs_bo_c2.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/media_codecs_bo_c2.xml b/media_codecs_bo_c2.xml index 3a397263..187df342 100644 --- a/media_codecs_bo_c2.xml +++ b/media_codecs_bo_c2.xml @@ -30,6 +30,7 @@ + @@ -45,6 +46,7 @@ +