drm/amdgpu: add condition to set MP1 state on gpu reset
authorLikun Gao <Likun.Gao@amd.com>
Mon, 18 May 2020 10:19:30 +0000 (18:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:48:42 +0000 (12:48 -0400)
commit0bcfa78c262a5195f0ba6f89c116e03c20e9c1bc
treee8e7601d4438d71d63468db8a2e17275542e760c
parent997769fa806b62cbc1eff4b777aee088b5997508
drm/amdgpu: add condition to set MP1 state on gpu reset

Only ras supportted need to set MP1 state to prepare for unload before
reloading SMU FW.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c