summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-02-10 07:14:30 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-02-10 07:14:30 +0000
commit652e28f9a885cb9b723793081a1bc77f70f94452 (patch)
treec2339b9e5cf9e4906f4e0bf35528d57fd3bf153f
parentfdaa429c6e529eb5e733ac0b1c969ee7c8633b36 (diff)
parent64dff03f321d3f5186ee2c275a15478375d166b7 (diff)
downloadabrolhos-652e28f9a885cb9b723793081a1bc77f70f94452.tar.gz
Snap for 9489562 from 64dff03f321d3f5186ee2c275a15478375d166b7 to android13-gs-pixel-5.10-releaseandroid-t-qpr2-beta-3.2_r0.4android-13.0.0_r0.65android-13.0.0_r0.63android-gs-raviole-5.10-t-qpr2-beta-3.2
Change-Id: Ibf2fdec6d3904f1b1224992e8bf4950c0734486f
-rw-r--r--drivers/edgetpu/abrolhos-thermal.c2
-rw-r--r--drivers/edgetpu/abrolhos/config.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/edgetpu/abrolhos-thermal.c b/drivers/edgetpu/abrolhos-thermal.c
index 710adbf..883bdc5 100644
--- a/drivers/edgetpu/abrolhos-thermal.c
+++ b/drivers/edgetpu/abrolhos-thermal.c
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/thermal.h>
-#include <soc/google/gs101_tmu.h>
+#include <soc/google/gs_tmu.h>
#include "mobile-thermal.c"
diff --git a/drivers/edgetpu/abrolhos/config.h b/drivers/edgetpu/abrolhos/config.h
index 57d6170..9cb5ffc 100644
--- a/drivers/edgetpu/abrolhos/config.h
+++ b/drivers/edgetpu/abrolhos/config.h
@@ -20,6 +20,9 @@
/* Reserved VCID that uses the extra partition. */
#define EDGETPU_VCID_EXTRA_PARTITION 0
+/* Pre-allocate 1 IOMMU domain per VCID */
+#define EDGETPU_NUM_PREALLOCATED_DOMAINS EDGETPU_NUM_VCIDS
+
/* Is a "mobile" style device. */
#define EDGETPU_FEATURE_MOBILE
#define EDGETPU_HAS_WAKELOCK