Messages in this thread | | | Date | Fri, 13 Jan 2023 20:34:18 +0530 | Subject | Re: [Patch v1 09/10] memory: tegra: get number of enabled mc channels | From | Sumit Gupta <> |
| |
On 22/12/22 17:07, Krzysztof Kozlowski wrote: > External email: Use caution opening links or attachments > > > On 20/12/2022 17:02, Sumit Gupta wrote: >> Get number of MC channels which are actually enabled >> in current boot configuration. > > Why? You don't do anything with it. Commit msg should give the reason of > changes. > > > Best regards, > Krzysztof >
CPU OPP tables have per channel bandwidth info. The "mc->num_channels" is used in [1] (Patch v1 10/10) to make the per MC channel bandwidth requested by the CPU cluster as a multiple of number of the enabled mc channels.
Will update the commit description with this info.
[1] https://lore.kernel.org/lkml/20221220160240.27494-1-sumitg@nvidia.com/T/#m3ac150a86977e89b97c5d19c60384f29d7a01d21
| |