Re: [Patch v1 09/10] memory: tegra: get number of enabled mc channels

From: Sumit Gupta
Date: Fri Jan 13 2023 - 10:15:20 EST




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@xxxxxxxxxx/T/#m3ac150a86977e89b97c5d19c60384f29d7a01d21