diff options
author | Zac Iqbal <zacharyi@google.com> | 2023-07-25 23:08:17 +0000 |
---|---|---|
committer | Zac Iqbal <zacharyi@google.com> | 2023-07-27 00:04:51 +0000 |
commit | 2f3f4c2c1004d0eebfcaceb70a9151ce1353ca88 (patch) | |
tree | 798f759b0f878c2696dc0463b1345b54f928cbd5 | |
parent | c5c4f33b72249be54b098470ca05b1c6a139c0b7 (diff) | |
download | shusky-2f3f4c2c1004d0eebfcaceb70a9151ce1353ca88.tar.gz |
Decreased shusky farawimg gcma heap size and enabled gcma for tpu heap.
Notes:
- Added zuma DMA device tree source include file for shusky.
- All heap changes are for shiba and husky only.
- Decreased GCMA farawimg heap size from 256MB -> 206MB.
- Decreased faceauth_tpu heap size from 32MB -> 10MB.
- Converted faceauth_tpu from chunk -> gcma heap.
- Total heap size returned:
* chunk -> 32MB returned
* gcma -> 40MB returned
Bug: 282074315
Bug: 287670700
Bug: 290773257
Change-Id: I76426a86eaa2a332e5e154e8c5b079b97d837dd9
-rw-r--r-- | dts/google/zuma-shusky-board.dtsi | 1 | ||||
-rw-r--r-- | dts/google/zuma-shusky-dma-heap.dtsi | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/dts/google/zuma-shusky-board.dtsi b/dts/google/zuma-shusky-board.dtsi index 7948262..aca3e6d 100644 --- a/dts/google/zuma-shusky-board.dtsi +++ b/dts/google/zuma-shusky-board.dtsi @@ -16,4 +16,5 @@ #include "zuma-shusky-gsa-gsc.dtsi" #include "zuma-shusky-sbbm.dtsi" #include "zuma-shusky-pcie.dtsi" +#include "zuma-shusky-dma-heap.dtsi" diff --git a/dts/google/zuma-shusky-dma-heap.dtsi b/dts/google/zuma-shusky-dma-heap.dtsi new file mode 100644 index 0000000..cdb5892 --- /dev/null +++ b/dts/google/zuma-shusky-dma-heap.dtsi @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * DMA heap device tree entries specific to husky and shiba. + * + * Copyright 2023 Google,LLC + * + */ + +&faceauth_tpu_dma_heap { + compatible = "google,dma-heap-gcma"; +}; + +&faceauth_tpu { + size = <0x00A00000>; /* 10MB */ +}; + +&farawimg { + size = <0x0CE00000>; /* 206MB */ +};
\ No newline at end of file |