aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorOak Zeng <Oak.Zeng@amd.com>2019-06-06 13:19:06 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-06-11 12:57:18 -0500
commitf77dac6cd62e5d4bcadd740620af1218bfb54cc6 (patch)
tree6967d9f4ca95c2d04a80fa905d7c68a628758371 /scripts/gcc-plugins
parent06b89b38f3cc518a761164f9f958a9607bbb3587 (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 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions