]> 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)
commitbb31a66cc6ec6637c7301bd87b8c33a7749de6f2
tree7b47276a92eb81bb4e62e8fdc54c2fc470c46633
parent0fe92838d4a2c6d8495321fc1ecc5ac96f279adc
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