commit | 38bb4226ffe51b033ecc6724c00ce0dd210db248 | [log] [tgz] |
---|---|---|
author | Oak Zeng <Oak.Zeng@amd.com> | Fri Jun 14 19:27:58 2019 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Jun 17 11:01:41 2019 -0500 |
tree | 38610c16fb416a296435ae6e2bffb1638ed2e240 | |
parent | 6a6ef5ee257eb178a5ada3b4327a9a208d3a4683 [diff] |
drm/amdkfd: Fix sdma queue allocate race condition SDMA queue allocation requires the dqm lock as it modify the global dqm members. Enclose it in the dqm_lock. Signed-off-by: Oak Zeng <Oak.Zeng@amd.com> Reviewed-by: Philip Yang <philip.yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>