]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: reduce reset time
authorVictor Zhao <Victor.Zhao@amd.com>
Fri, 24 Jun 2022 04:00:06 +0000 (12:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:14:31 +0000 (18:14 -0400)
commit1faef18b1274c6798b72c8963b5e4e8d4b3a1349
tree7b47276a92eb81bb4e62e8fdc54c2fc470c46633
parent8eccc741710627899e83bae897c785936d5f4fef
drm/amdgpu: reduce reset time

In multi container use case, reset time is important, so skip ring
tests and cp halt wait during ip suspending for reset as they are
going to fail and cost more time on reset

v2: add a hang flag to indicate the reset comes from a job timeout,
skip ring test and cp halt wait in this case

v3: move hang flag to adev

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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c