• Likun Gao's avatar
    drm/amdgpu: adjust the sequence to check soft reset · 360cd081
    Likun Gao authored
    
    
    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: default avatarLikun Gao <Likun.Gao@amd.com>
    Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    360cd081
amdgpu_device.c 161 KB