mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-25 06:19:56 +00:00
feat(tc): add default SLC policy for the gpu
As per the GPU integration guide, adding the PBHA INT overrides to influence the GPU allocation policy for the System Level Cache (SLC). This commit uses SLC policy #23, which is the Arm SLC cache policy number for GPUs. The cache policy #23 may not be optimal for all workloads, although it outperforms other policies on the tested data sets. Change-Id: I19ddbcf52a2f01af0ab6dfd7cc25b2e438b9014a Signed-off-by: Angel Rodriguez Garcia <angel.rodriguezgarcia@arm.com> Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com> Signed-off-by: Leo Yan <leo.yan@arm.com>
This commit is contained in:
parent
55c7efc494
commit
bebefe0f33
1 changed files with 8 additions and 0 deletions
|
@ -487,6 +487,14 @@
|
|||
#if TC_IOMMU_EN
|
||||
iommus = <&smmu_700 0x200>;
|
||||
#endif /* TC_IOMMU_EN */
|
||||
pbha {
|
||||
int-id-override = <0 0x22>, <2 0x23>, <4 0x23>, <7 0x22>,
|
||||
<8 0x22>, <9 0x22>, <10 0x22>, <11 0x22>,
|
||||
<12 0x22>, <13 0x22>, <16 0x22>, <17 0x32>,
|
||||
<18 0x32>, <19 0x22>, <20 0x22>, <21 0x32>,
|
||||
<22 0x32>, <24 0x22>, <28 0x32>;
|
||||
propagate-bits = <0x0f>;
|
||||
};
|
||||
};
|
||||
|
||||
power_model_simple {
|
||||
|
|
Loading…
Add table
Reference in a new issue