drm/amdgpu: stop touching sched.ready in the backend
authorChristian König <christian.koenig@amd.com>
Tue, 18 May 2021 15:48:02 +0000 (17:48 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 May 2021 22:07:43 +0000 (18:07 -0400)
commita2b4785f01280a4291edb9fda69032fc2e4bfd3f
treed4dd5b698e1e44d1928ce9fe1990575e1cde8dfa
parent9c2876d56f1ce9b6b2072f1446fb1e8d1532cb3d
drm/amdgpu: stop touching sched.ready in the backend

This unfortunately comes up in regular intervals and breaks
GPU reset for the engine in question.

The sched.ready flag controls if an engine can't get working
during hw_init, but should never be set to false during hw_fini.

v2: squash in unused variable fix (Alex)

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c