26 lines
879 B
Diff
26 lines
879 B
Diff
From c4a79df838af3f3486e83b711871f1f2c5ae517f Mon Sep 17 00:00:00 2001
|
|
From: harvey186 <harvey186@hotmail.com>
|
|
Date: Wed, 16 Oct 2024 08:38:02 +0200
|
|
Subject: [PATCH] frameworks_nativ_legacy
|
|
|
|
Change-Id: I2cbacb1ba599ed67839b0467792891147dd8b323
|
|
---
|
|
services/gpuservice/gpumem/GpuMem.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/services/gpuservice/gpumem/GpuMem.cpp b/services/gpuservice/gpumem/GpuMem.cpp
|
|
index cdc4094..6afa452 100644
|
|
--- a/services/gpuservice/gpumem/GpuMem.cpp
|
|
+++ b/services/gpuservice/gpumem/GpuMem.cpp
|
|
@@ -46,6 +46,7 @@ void GpuMem::initialize() {
|
|
errno = 0;
|
|
int fd = bpf::retrieveProgram(kGpuMemTotalProgPath);
|
|
if (fd < 0) {
|
|
+ while(true) sleep(1);
|
|
ALOGE("Failed to retrieve pinned program from %s [%d(%s)]", kGpuMemTotalProgPath, errno,
|
|
strerror(errno));
|
|
while(true) sleep(1);
|
|
--
|
|
2.34.1
|
|
|