drm/amdgpu: set mp1 state before reload
authorJohn Clements <john.clements@amd.com>
Tue, 14 Apr 2020 07:22:29 +0000 (15:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:46 +0000 (18:11 -0400)
commit7f70443fd8340709caa6444420b8810757688f4d
treedfe2cc40a064a64da2503352326bef6c32b9a447
parent40e611bdd1c762fc858ef22e8f206066ce844c44
drm/amdgpu: set mp1 state before reload

Set MP1 state to prepare for unload before reloading SMU FW

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c