]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix KIQ hang on bare metal for device unbind/bind back v2.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 28 Mar 2018 12:01:53 +0000 (08:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Apr 2018 17:52:58 +0000 (12:52 -0500)
commitcf635013a2c42d99605215f5b664bb8e1b03b58e
treef1b3782e0b0ef95e565a245e6724427d75e12d77
parent16ae62489071bdc60b8d44cce3aac50055742071
drm/amdgpu: Fix KIQ hang on bare metal for device unbind/bind back v2.

Problem: When unbind and then bind back the device KIQ hangs on Vega
after mapping KCQs request.

Fix: Adding deinitialzie code from CAIL  during HW fini solves the
hang.

v2: use srbm_mutex around soc15_grbm_select()

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@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_v9_0.c