mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-08-06 05:14:21 -04:00
Cleanup
- Removes unused files/patches - Removes many guards, these likely don't work anyway due to patchsets having dependencies - No functional change Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
af25d96aee
commit
afe1135384
449 changed files with 193 additions and 22661 deletions
|
@ -0,0 +1,31 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Tad <tad@spotco.us>
|
||||
Date: Tue, 22 Nov 2022 07:23:10 -0500
|
||||
Subject: [PATCH] Add workaround for OnePlus 8 & 9 display driver crash
|
||||
|
||||
Change-Id: Ie7a0ca79bb629814e57958d57546f85030b67048
|
||||
Signed-off-by: Tad <tad@spotco.us>
|
||||
---
|
||||
h_malloc.c | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/h_malloc.c b/h_malloc.c
|
||||
index 0308d73..6c3b148 100644
|
||||
--- a/h_malloc.c
|
||||
+++ b/h_malloc.c
|
||||
@@ -1209,6 +1209,15 @@ COLD static void handle_bugs(void) {
|
||||
ro.purge_slabs = false;
|
||||
ro.region_quarantine_protect = false;
|
||||
}
|
||||
+
|
||||
+ // OnePlus 8 & 9 display composer
|
||||
+ // https://gitlab.com/divested-mobile/divestos-build/-/issues/19
|
||||
+ const char hwc[] = "/vendor/bin/hw/vendor.qti.hardware.display.composer-service";
|
||||
+ if (strcmp(hwc, path) == 0) {
|
||||
+ ro.zero_on_free = false;
|
||||
+ ro.purge_slabs = false;
|
||||
+ ro.region_quarantine_protect = false;
|
||||
+ }
|
||||
}
|
||||
|
||||
static struct mutex init_lock = MUTEX_INITIALIZER;
|
Loading…
Add table
Add a link
Reference in a new issue