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>
Mon, 2 Dec 2019 22:37:29 +0000 (17:37 -0500)
commita5e82d0b95051a01c5e8473f6969eb69a38b40cf
tree9dd14a8a40acfeb115c99e3d180bba56756fb238
parentedac2525ae9efe79572c0bbbd38d5d67a1bca23b
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