]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: revert context to stop engine before mode2 reset
authorVictor Zhao <Victor.Zhao@amd.com>
Fri, 24 Jun 2022 03:59:21 +0000 (11:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:14:31 +0000 (18:14 -0400)
commit8eccc741710627899e83bae897c785936d5f4fef
treeeaf6b36d8c433479fa5b4d7461cfd9f56ed3a5e9
parent8e8689e94ad70593695b05930650679bdd007ede
drm/amdgpu: revert context to stop engine before mode2 reset

For some hang caused by slow tests, engine cannot be stopped which
may cause resume failure after reset. In this case, force halt
engine by reverting context addresses

Signed-off-by: Victor Zhao <Victor.Zhao@amd.com>
Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c
drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c