aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorLikun Gao <Likun.Gao@amd.com>2022-12-21 13:46:33 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-01-03 16:49:26 -0500
commit360cd08196cabcf150b7550db427f9a7e3bf7d39 (patch)
treeffbce6ad61c741946c6a8db260335bc62837ba2c /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent1f9d1ff1c3c1d02a9fdd00ea607219812f505081 (diff)
drm/amdgpu: adjust the sequence to check soft reset
1.Drop soft reset check when do should recover gpu check. (As it will skip gpu reset operation if some ip is hang but not support soft reset) 2.Check soft reset status before do soft reset when pre asic reset. a. If check soft reset return true, it means: some ip is hang and it also support soft reset, will try soft reset first. b. If check soft reset return false, it means: I. All the ip are not hang, will skip gpu reset. II. Some ip is hang but not support soft reset, will skip soft reset and retry with full reset later. Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions