Changes for July 2024

This commit is contained in:
Andy CrossGate Yan
2024-07-21 17:16:11 +08:00
parent 1855253db2
commit b6248125ef
96 changed files with 2462 additions and 756 deletions

View File

@@ -1,7 +1,7 @@
From d817f1b8271e51853040685214aebc378dafd1aa Mon Sep 17 00:00:00 2001
From a62c64145c25f62e0a6f6c264b5da12e7a253c72 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Fri, 25 Mar 2022 05:37:56 -0400
Subject: [PATCH] MIUI13 devices hide their vibrator HAL behind non-default
Subject: [PATCH 1/2] MIUI13 devices hide their vibrator HAL behind non-default
name: "vibratorfeature"
---

View File

@@ -0,0 +1,27 @@
From 939201042b7a18dd00eb865f78209ba9f8eaeed8 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sun, 26 May 2024 21:34:17 +0800
Subject: [PATCH 2/2] SurfaceFlinger: Disable SF HWC backpressure
Change-Id: I5b99a2b860b1387ef5b589cb5b7b1d3ff0cfeee8
---
services/surfaceflinger/SurfaceFlinger.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 305e08c714..3b508cd043 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -2556,7 +2556,8 @@ bool SurfaceFlinger::commit(PhysicalDisplayId pacesetterId,
}
}
- if (pacesetterFrameTarget.isFramePending()) {
+ if (base::GetBoolProperty("persist.sys.treble.enable_sf_hwc_backpressure"s, true)
+ && pacesetterFrameTarget.isFramePending()) {
if (mBackpressureGpuComposition || pacesetterFrameTarget.didMissHwcFrame()) {
if (FlagManager::getInstance().vrr_config()) {
mScheduler->getVsyncSchedule()->getTracker().onFrameMissed(
--
2.34.1