aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJonathan Kim <[email protected]>2024-08-07 15:33:41 -0400
committerAlex Deucher <[email protected]>2024-08-13 10:35:00 -0400
commit70f83e7706e57200edb8ffa36883b2f43d214142 (patch)
tree5187d0b70d6320cad19a59de202efa7124d2ab1f /tools/perf/scripts/python/bin/stackcollapse-record
parent9b7e697839c2745c10f63fe5fd54c9e328fa2e3b (diff)
drm/amdkfd: fix partition query when setting up recommended sdma engines
When users dynamically set the partition mode through sysfs writes, this can lead to a double lock situation where the KFD is trying to take the partition lock when updating the recommended SDMA engines. Have the KFD reference its saved socket device number count instead. Also ensure we have enough SDMA xGMI engines to report the recommended engines in the first place. Fixes: e06b71b2313a ("drm/amdkfd: allow users to target recommended SDMA engines") Signed-off-by: Jonathan Kim <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions