aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Kim <[email protected]>2022-05-12 20:38:18 -0400
committerAlex Deucher <[email protected]>2022-05-26 14:56:31 -0400
commita0af5dbdc914eae667fba8322cb02afc4ce3967b (patch)
treec434c7e12e9523cc3166998ba45fcdfefb01bc9a /tools/perf/scripts/python
parent2c2dd0555fd6bcea6d43ab3224c6af718b910e22 (diff)
drm/amdkfd: simplify cpu hive assignment
CPU hive assignment currently assumes when a GPU hive is connected_to_cpu, there is only one hive in the system. Only assign CPUs to the hive if they are explicitly directly connected to the GPU hive to get rid of the need for this assumption. It's more efficient to do this when querying IO links since other non-CRAT info has to be filled in anyways. Also, stop re-assigning the same CPU to the same GPU hive if it has already been done before. Signed-off-by: Jonathan Kim <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions