drm/amdgpu/gfx10: unlock srbm_mutex after queue programming finish
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Wed, 6 Nov 2019 13:10:20 +0000 (21:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Dec 2019 16:52:55 +0000 (11:52 -0500)
commitfa2b93e39b1d167d342aecd6d3f53d9972405226
tree0ac07ba5b3fc80ed26d8c09da36a1cacf738b1a0
parentf0312f45a0540a1551ca4644ff2461250520111a
drm/amdgpu/gfx10: unlock srbm_mutex after queue programming finish

srbm_mutex is to guarantee atomicity for r/w of gfx indexed registers

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c