summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2026-06-02 20:32:48 +0100
committerUlf Hansson <ulfh@kernel.org>2026-07-13 13:00:11 +0200
commit9956ad2afd44699933188f388e6f1cf1943987b7 (patch)
tree2f6c07ce19551382262ede73e4363e27e78092e9 /tools/perf/scripts/python
parent752840328152f0a8b98cc10d7e53cc89a44ef951 (diff)
pmdomain: tegra: Add support for multi-socket platforms
On multi-socket platforms each socket has its own BPMP that is registered with the kernel. For such platforms prefix the NUMA ID for each socket to the BPMP powergate name to ensure there is a unique name for each power-domain. Note that we only add the NUMA ID for powergates that return a valid name because an invalid name indicates that the powergate ID is not supported. Note the check for the NULL string is moved into the function tegra_bpmp_powergate_get_name(), because in the multi-socket case we must only add the prefix if we receive a valid name. A NULL string indicates that there is no valid powergate associated with the ID that is being queried. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions