diff options
| author | 2019-06-06 13:19:06 -0500 | |
|---|---|---|
| committer | 2019-06-11 12:57:18 -0500 | |
| commit | f77dac6cd62e5d4bcadd740620af1218bfb54cc6 (patch) | |
| tree | 6967d9f4ca95c2d04a80fa905d7c68a628758371 /tools/perf/scripts/python | |
| parent | drm/amdkfd: Fix a circular lock dependency (diff) | |
drm/amdkfd: Fix sdma queue allocate race condition
SDMA queue allocation requires the dqm lock at it modify
the global dqm members. Move up the dqm_lock so sdma
queue allocation is enclosed in the critical section. Move
mqd allocation out of critical section to avoid circular
lock dependency.
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
