OSDN Git Service

drm/amdgpu: unlock the correct lock in amdgpu_gfx_enable_kcq()
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 3 May 2023 15:09:18 +0000 (18:09 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:31:46 +0000 (09:31 -0400)
commit7a6a2e59aacd6d5e75927352b72d39a5bc447e09
tree4b6720adb5ccb2fdaf54c3b34240037a62c48142
parent0e5f625157ca47d9ee27a36310611964bd97c605
drm/amdgpu: unlock the correct lock in amdgpu_gfx_enable_kcq()

We changed which lock we are supposed to take but this error path
was accidentally over looked so it still drops the old lock.

Fixes: def799c6596d ("drm/amdgpu: add multi-xcc support to amdgpu_gfx interfaces (v4)")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c