]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix skipping hangged job reset during gpu recover.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 31 Oct 2018 14:23:05 +0000 (10:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Nov 2018 14:51:33 +0000 (09:51 -0500)
commit3d2a71d879af0078ecc7eb89fceecb16ef31d749
treefa439ec2a41939b1e0edded9be3a1f44091da949
parentf6822140c6ded7d559fa76fc2bd7f8abd4566620
drm/amdgpu: Fix skipping hangged job reset during gpu recover.

Problem:
During GPU recover DAL would hang in
amdgpu_pm_compute_clocks->amdgpu_fence_wait_empty

Fix:
Turns out there was a typo introduced by
beb7067 drm/amdgpu: remove job->ring which caused skipping
amdgpu_fence_driver_force_completion and so the hangged job
was never force signaled and this would cause the hang later in DAL.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c