mirror_ubuntu-kernels/drivers/gpu/drm/amd
YiPeng Chai 642c040113 drm/amdgpu: Fixed ras warning when uninstalling amdgpu
For the asic using smu v13_0_2, there is the following
warning when uninstalling amdgpu:
  amdgpu: ras disable gfx failed poison:1 ret:-22.

[Why]:
  For the asic using smu v13_0_2, the psp .suspend and
  mode1reset is called before amdgpu_ras_pre_fini during
  amdgpu uninstall, it has disabled all ras features and
  reset the psp. Since the psp is reset, calling
  amdgpu_ras_disable_all_features in amdgpu_ras_pre_fini
  to disable ras features will fail.

[How]:
  If all ras features are disabled, amdgpu_ras_disable_all_features
  will not be called to disable all ras features again.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-09-29 09:41:42 -04:00
..
acp
amdgpu drm/amdgpu: Fixed ras warning when uninstalling amdgpu 2022-09-29 09:41:42 -04:00
amdkfd drm/amdkfd: Fix spelling mistake "detroyed" -> "destroyed" 2022-09-19 15:07:46 -04:00
display drm/amd/display: Reduce number of arguments of dml314's CalculateFlipSchedule() 2022-09-20 12:42:32 -04:00
include drm/amd/pm:add new gpu_metrics_v2_3 to acquire average temperature info 2022-09-14 12:38:41 -04:00
pm drm/amd/pm: Remove unneeded result variable 2022-09-20 12:42:46 -04:00