drm/amdgpu: mode1 reset needs to recover mp1 for mp0 v13_0_10
authorYiPeng Chai <YiPeng.Chai@amd.com>
Tue, 8 Aug 2023 02:02:30 +0000 (10:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2023 22:07:41 +0000 (18:07 -0400)
commit1b98a5f8e04b944ba93444a8004690391a60fcf1
tree8aa8ecadfdc6efa0e547e0d30bbe0cb784776b1f
parente01eeffc3f861425b3e8238f3d848b25ef9c1243
drm/amdgpu: mode1 reset needs to recover mp1 for mp0 v13_0_10

Mode1 reset needs to recover mp1 in fatal error case
for mp0 v13_0_10.

v2:
  Define a macro to wrap psp function calls.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c