linux/drivers/memory/tegra
Sumit Gupta e852af72a7 memory: tegra: Make CPU cluster BW request a multiple of MC channels
Make CPU cluster's bandwidth (BW) request a multiple of MC channels.
CPU OPP tables have BW info per MC channel. But, the actual BW depends
on the number of MC channels which can change as per the boot config.
Get the number of MC channels which are actually enabled in current
boot configuration and multiply the BW request from a CPU cluster with
the number of enabled MC channels. This is not required to be done for
other MC clients.

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2023-05-16 12:11:01 +02:00
..
Kconfig memory: tegra30-emc: Print additional memory info 2022-01-27 10:40:34 +01:00
Makefile memory: tegra: Add Tegra234 support 2022-05-09 10:46:00 +02:00
mc.c memory: tegra: Make CPU cluster BW request a multiple of MC channels 2023-05-16 12:11:01 +02:00
mc.h memory: tegra: Make CPU cluster BW request a multiple of MC channels 2023-05-16 12:11:01 +02:00
tegra20-emc.c memory: tegra20-emc: fix interconnect registration race 2023-03-13 21:13:48 +02:00
tegra20.c memory: tegra: Parameterize interrupt handler 2021-06-03 21:49:41 +02:00
tegra30-emc.c memory: tegra30-emc: fix interconnect registration race 2023-03-13 21:13:49 +02:00
tegra30.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra114.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra124-emc.c memory: tegra124-emc: fix interconnect registration race 2023-03-13 21:13:48 +02:00
tegra124.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra186-emc.c memory: tegra: Add interconnect support for DRAM scaling in Tegra234 2023-05-16 12:11:00 +02:00
tegra186.c memory: tegra: Remove clients SID override programming 2022-12-27 09:52:33 +01:00
tegra194.c memory: tegra: Add MC error logging on Tegra186 onward 2022-05-09 10:46:14 +02:00
tegra210-emc-cc-r21021.c memory: tegra: read values from correct device 2023-04-10 18:55:55 +02:00
tegra210-emc-core.c memory: tegra210-emc: Use DEFINE_SHOW_ATTRIBUTE to simplify code 2022-11-21 13:29:02 +01:00
tegra210-emc-table.c memory: tegra: remove redundant variable initialization 2023-03-22 18:48:46 +01:00
tegra210-emc.h memory: tegra: Drop <linux/clk-provider.h> 2020-06-22 13:54:58 +02:00
tegra210-mc.h memory: tegra: Add EMC scaling support code for Tegra210 2020-06-22 13:54:57 +02:00
tegra210.c memory: tegra: Extract setup code into callback 2021-06-03 21:49:41 +02:00
tegra234.c memory: tegra: Make CPU cluster BW request a multiple of MC channels 2023-05-16 12:11:01 +02:00